Skip to content
Snippets Groups Projects
Commit 9bc70e99 authored by Frank Naegler's avatar Frank Naegler
Browse files

Revert "[TASK] Deprecate f:format.html in the backend context"

This patch will be reverted, because the ViewHelper is still in use
and an alternative is not ready yet.

This reverts commit 0a59b275.

Releases: master
Resolves: #80620
Reverts: #72716
Change-Id: I9667dbc2acd3fec0ed9af29ae995fb6f25aaae92
Reviewed-on: https://review.typo3.org/52306


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent f7495750
Branches
Tags
No related merge requests found
.. include:: ../../Includes.txt
==================================================================
Deprecation: #72716 - Deprecate f:format.html for usage in backend
==================================================================
See :issue:`72716`
Description
===========
The usage of the viewhelper `f:format.html` in the backend context is discouraged
because of possible side effects - e.g. no `lib.parseFunc` is configured.
Impact
======
Using the viewhelper `f:format.html` in the backend context will trigger a
deprecation log entry.
Affected Installations
======================
Any TYPO3 instance using the viewhelper in the backend context.
Migration
=========
Use the viewhelper `f:format.raw`.
.. index:: Fluid, Backend
......@@ -98,8 +98,6 @@ class HtmlViewHelper extends AbstractViewHelper
{
$parseFuncTSPath = $arguments['parseFuncTSPath'];
if (TYPO3_MODE === 'BE') {
GeneralUtility::deprecationLog('The usage of the viewhelper "f:format.html" in the backend context is discouraged, and will stop working with CMS 9. '
. 'Use the viewhelper "f:format.raw" instead.');
self::simulateFrontendEnvironment();
}
$value = $renderChildrenClosure();
......
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