Commit 369334cf authored by Claus Due's avatar Claus Due Committed by Benni Mack
Browse files

[BUGFIX] Correct escaping behavior of documentation views

This change updates documentation-related templates and
a single ViewHelper to use the expected escaping toggles.

Change-Id: I0c2e57b3fa253a3d4225f1a383c54236655a0dfa
Releases: master
Resolves: #73181
Reviewed-on: https://review.typo3.org/46536


Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent a494a5ee
......@@ -25,11 +25,18 @@ use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
class FormatViewHelper extends AbstractViewHelper
{
/**
* Disable the escaping interceptor
* Disable the output escaping interceptor
*
* @var bool
*/
protected $escapingInterceptorEnabled = false;
protected $escapeOutput = false;
/**
* Disable the children escaping interceptor
*
* @var bool
*/
protected $escapeChildren = false;
/**
* Format the content
......
......@@ -3,7 +3,7 @@
<h2>{manual.headerLine}</h2>
<p>{manual.content}</p>
<p>{manual.content -> f:format.raw()}</p>
<f:if condition="{manual.configuration.details}">
<h3>
......@@ -16,7 +16,7 @@
<h3>
<f:translate key="LLL:EXT:lang/locallang_view_help.xlf:syntax" />
</h3>
{manual.configuration.syntax}
{manual.configuration.syntax -> f:format.raw()}
</f:if>
<f:if condition="{manual.images}">
......@@ -28,7 +28,7 @@
</f:if>
</div>
</f:for>
{manual.configuration.syntax}
{manual.configuration.syntax -> f:format.raw()}
</f:if>
<f:if condition="{manual.seeAlso}">
......@@ -50,4 +50,4 @@
</li>
</f:for>
</ul>
</f:if>
\ No newline at end of file
</f:if>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment