Opened 17 years ago
Closed 17 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: |
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.
Change History (1)
comment:1 Changed 17 years ago by cmlenz
- Milestone 0.5 deleted
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
As I said on that mailing list thread, XHTML serialization does not render empty script elements as self-closing tag.