Edgewall Software

Ticket #225 (closed defect: invalid)

Opened 7 years ago

Last modified 7 years 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 7 years 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


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


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