Comment 3 for bug 199435

Revision history for this message
Petr DlouhĂ˝ (petr-dlouhy) wrote :

The similar problem like this is that when there is javascript in document with something between CDATA, like this:

<script type="text/javascript">
  //<![CDATA[
    document.write('something nasty<>&');
  //]]>
</script>

Then Inkscape will remove CDATA section and replace it with &something notation like this:

<svg:script
  id="script2419">
  //
  document.write('something nasty&lt;&gt;&amp;');
//</svg:script>

The meaning is equivalent, but this behaviour is unpleasant, because it could make the script unreadable.