Feature #61162
closed
Added by jholzmann no-lastname-given about 10 years ago.
Updated almost 10 years ago.
Description
However it is a cosmetic change Fluid produces XHTML code with trailing slash / even in HTML5.
The trailing slash is only required for XHTML.
XHTML: <img src="..." />
HTML5: <img src="...">
And i would let it that way. XML is cleaner than SGML and html5 does not specify the img tag to be SGML so i would allways prefer the XML Syntax.
While I also would like to see this, it's going to be quite hard to implement with little benefit.
You can always register a custom implementation for the TagBuilder
if you really need this.
- Status changed from New to Rejected
As HTML5 allows both types of syntax but XHTML doesn't I would simply leave it as is.
There's no disadvantage when using slashes in HTML5 so there's no benefit at all but a lot of work rewriting all view helpers and unit tests.
Also available in: Atom
PDF