Bug #64267
closedparseFunc fails to parse void elements without whitespace before "/>"
100%
Description
Given the content "One<br>Two<br />Three<br/>Four" And "br" is within the list of "lib.parseFunc.allowTags" TypoScript When the content is parsed with "lib.parseFunc" Then the parsed HTML should be: "One<br>Two<br />Three<br/>Four" But instead the parsed HTML is "One<br>Two<br />Three <br/>Four"
Updated by Steffen Müller almost 10 years ago
HTML spec says, that whitespaces between tag name and "/" character are optional.
Start tags consist of the following parts, in exactly the following order: A "<" character. The element’s tag name. Optionally, one or more attributes, each of which must be preceded by one or more space characters. Optionally, one or more space characters. Optionally, a "/" character, which may be present only if the element is a void element. A ">" character.
http://w3c.github.io/html-reference/syntax.html#tag-name
Updated by Steffen Müller almost 10 years ago
- Subject changed from parseFunc fails to parse void elements without whitespace before / to parseFunc fails to parse void elements without whitespace before "/>"
Updated by Gerrit Code Review almost 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36004
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36004
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36018
Updated by Steffen Müller almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6299c7a95e7d906d4cf9a390213f4ca926a3437f.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50812
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50812
Updated by Steffen Müller almost 8 years ago
- Status changed from Under Review to Closed
Accidently reopen due to wrong issue reference in gerrit. Closed.