Edgewall Software

Opened 9 years ago

Closed 9 years ago

Last modified 20 months ago

#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:


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.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by cmlenz

  • Milestone 0.2 deleted
  • Resolution set to worksforme
  • Status changed from new to closed
  • Version set to 0.1

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.

comment:2 Changed 20 months ago by XRumerTest

  • Component changed from Template processing to General
  • Summary changed from <link> element is missing closing tag or "/>" to &lt;link&gt; element is missing closing tag or &#34;/&gt;&#34;
  • Version 0.1 deleted

Hello. And Bye.

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.