Edgewall Software

Opened 10 years ago

Closed 10 years ago

#225 closed defect (invalid)

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:


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 (0)

Change History (1)

comment:1 Changed 10 years ago by cmlenz

  • Milestone 0.5 deleted
  • Resolution set to invalid
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.