http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692019-04-23T17:43:44ZTYPO3 ForgeTYPO3 Core - Bug #88174: PageTitle should allow quotation markshttp://forge.typo3.org/issues/88174?journal_id=3986172019-04-23T17:43:44ZMichael Rainerrainer-michael@hotmail.com
<ul></ul><p>Michael Rainer wrote:</p>
<blockquote>
<p>Hi all,</p>
<p>I want to set the page title to a string which contains quotation marks.<br />...<br /><head><br /><title>Hotel xy "Single Room"</title><br /></head><br />...</p>
<p>According to W3C Validator, it's allowed to have quotation marks in the title tag.</p>
<p>I set the title via the PageRenderer class of the core extension ( \TYPO3\CMS\Core\Page\PageRenderer->setTitle ).<br />But the quotation marks will be escaped: The PageRendererClass always escapes the title via htmlspecialchars().</p>
<p>For example in the getPreparedMarkerArray method:</p>
<p>'TITLE' => $this->title ? str_replace('|', <strong>htmlspecialchars</strong>($this->title), $this->titleTag) : '',</p>
<p>What are your thoughts?</p>
<p>Kind regards,<br />Michael</p>
</blockquote>
<p>Sorry guys, <br />it was a mistake by myself.<br />My custom viewhelper escaped the content and therefore<br />it was a double escaping problem.<br />The issue can be closed.</p>
<p>Cheers,<br />Michael</p> TYPO3 Core - Bug #88174: PageTitle should allow quotation markshttp://forge.typo3.org/issues/88174?journal_id=3986372019-04-24T07:24:02ZMichael Rainerrainer-michael@hotmail.com
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul> TYPO3 Core - Bug #88174: PageTitle should allow quotation markshttp://forge.typo3.org/issues/88174?journal_id=3986382019-04-24T08:18:08ZSusanne Moogsusanne.moog@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul>