Project

General

Profile

Actions

Feature #61162

closed

Fluid HTML5 compliance

Added by jholzmann no-lastname-given about 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-08-23
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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="...">

Actions #1

Updated by Philipp Wrann about 10 years ago

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.

Actions #2

Updated by Mathias Brodala about 10 years ago

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.

Actions #3

Updated by Alexander Schnitzler almost 10 years ago

  • 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.

Actions

Also available in: Atom PDF