#88174PageTitle should allow quotation marks
Description
Hi all,
I want to set the page title to a string which contains quotation marks.
…
<head><br><title>Hotel xy “Single Room”</title><br></head>
…
According to W3C Validator, it’s allowed to have quotation marks in the title tag.
I set the title via the PageRenderer class of the core extension ( \TYPO3\CMS\Core\Page\PageRenderer->setTitle ).
But the quotation marks will be escaped: The PageRendererClass always escapes the title via htmlspecialchars().
For example in the getPreparedMarkerArray method:
‘TITLE’ => $this->title ? str_replace(‘|’, *htmlspecialchars*($this->title), $this->titleTag) : ‘’,
What are your thoughts?
Kind regards,
Michael
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.