Edgewall Software

Ticket #225 (closed defect: invalid)

Opened 3 months ago

Last modified 3 months ago

XHTML generated <script /> not understood by all browsers

Reported by: jruigrok Owned by: cmlenz
Priority: major Milestone:
Component: Template processing Version: 0.4.4
Keywords: Cc:

Description

As seen on the mailinglist, currently Genshi in XHTML mode renders a script element as <script />. Unfortunately not all browsers deal correctly with this.

A solution might be to render <script><!-- --></script> and as such create an explicit end element.

This seems to resolve the issue of IE7 not displaying the page, i.e. it loads the entire page, source is there, but it stays blank.

Attachments

Change History

Changed 3 months ago by cmlenz

  • status changed from new to closed
  • resolution set to invalid
  • milestone 0.5 deleted

As I said on that mailing list thread, XHTML serialization does not render empty script elements as self-closing tag.

Add/Change #225 (XHTML generated <script /> not understood by all browsers)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.