Skip to content
Snippets Groups Projects
Commit fac14109 authored by Chris Müller's avatar Chris Müller Committed by Nikita Hovratov
Browse files

[DOCS] Add hint to HtmlViewHelper about avoiding usage in backend context

The docblock of the class is rendered for documentation, see:
https://docs.typo3.org/other/typo3/view-helper-reference/main/en-us/typo3/fluid/latest/Format/Html.html

This information should therefore be mentioned.

Related: #99031
Resolves: #99536
Resolves: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/250
Releases: main, 11.5
Change-Id: I6f21710975a8916e27cdcd38c0bcb83a129319ea
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77436


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
parent 44fc8221
Branches
Tags
No related merge requests found
......@@ -28,6 +28,10 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
* You can either specify a path to the TypoScript setting or set the `parseFunc`_ options directly.
* By default :typoscript:`lib.parseFunc_RTE` is used to parse the string.
*
* The view helper must not be used in backend context, as it triggers frontend logic.
* Instead, use :html:`<f:sanitize.html />` to secure a given HTML string or :html:`<f:transform.html />`
* to parse links in HTML.
*
* Examples
* ========
*
......
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