- 🇫🇷France andypost
I bet it could be closed as filter system upgraded to HTML5
Hi. It seems there is a problem with javascript filtering. Steps to reproduce:
1.- New Drupal 8.1.10 installation with standard profile (also fails with 8.2.x tested in simplytest.me).
2.- Edit Basic HTML filter and adds <script type>
to allowed HTML tags.
3.- Add a new basic page node, and set the following code in HTML Source mode:
<script type="text/javascript">
document.write('<p>This is a <a href="http://www.drupal.org/">test</a></p>');
document.write('<p>This is a <a href="http://www.drupal.org/">test</a></p>');
</script>
4.- After saving the node, Drupal generates the HTML you can see in the attached screenshot.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I bet it could be closed as filter system upgraded to HTML5