#25 closed defect (worksforme)
<link> element is missing closing tag or "/>"
Reported by: | arnarbi at gmail | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
I have this in a file called master.html:
<link rel="stylesheet" href="/static/css/main.css" type="text/css" />
In the generated output, the "/" is stripped:
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
effectively outputting invalid XML.
Change History (2)
comment:1 Changed 18 years ago by cmlenz
- Milestone 0.2 deleted
- Resolution set to worksforme
- Status changed from new to closed
- Version set to 0.1
comment:2 Changed 11 years ago by XRumerTest
- Component changed from Template processing to General
- Summary changed from <link> element is missing closing tag or "/>" to <link> element is missing closing tag or "/>"
- Version 0.1 deleted
Hello. And Bye.
Note: See
TracTickets for help on using
tickets.
You're probably using the html output method? The output you're getting is valid HTML (whereas the one you'd like is not, strictly speaking).
Anyway, using the XHTML serializer should produce the <link /> style:
If that's not the case, please reopen this ticket. Thanks.