Edgewall Software

Opened 18 years ago

Last modified 17 years ago

#24 closed defect

<script> and <style> element content should not be escaped by HTML serializer — at Version 1

Reported by: cmlenz Owned by: cmlenz
Priority: major Milestone: 0.2
Component: Serialization Version:
Keywords: Cc:

Description (last modified by cmlenz)

The XHTML serializer should probably continue to escape scripts and styles… however that means that output needs to be sent as application/xhtml+xml to make scripts containing <, > or & characters work.

See also Kid ticket #99.

Change History (1)

comment:1 Changed 18 years ago by cmlenz

  • Component changed from Parsing to Serialization
  • Description modified (diff)
  • Summary changed from Handling of CDATA to <script> and <style> element content should not be escaped by HTML serializer

Actually, this isn't about CDATA, but about escaping the contents of <script> and <style> elements.

Not sure whether trying to pass through CDATA sections as such makes sense.

Note: See TracTickets for help on using tickets.