From 9bc70e99af0b26cb1fe259e5784fb6004d960ca6 Mon Sep 17 00:00:00 2001
From: Frank Naegler <frank.naegler@typo3.org>
Date: Fri, 31 Mar 2017 21:34:24 +0100
Subject: [PATCH] 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 0a59b27595da8ee48d112de3fe3a5c573103f183.

Releases: master
Resolves: #80620
Reverts: #72716
Change-Id: I9667dbc2acd3fec0ed9af29ae995fb6f25aaae92
Reviewed-on: https://review.typo3.org/52306
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
---
 ...-DeprecateFformathtmlForUsageInBackend.rst | 35 -------------------
 .../ViewHelpers/Format/HtmlViewHelper.php     |  2 --
 2 files changed, 37 deletions(-)
 delete mode 100644 typo3/sysext/core/Documentation/Changelog/8.0/Deprecation-72716-DeprecateFformathtmlForUsageInBackend.rst

diff --git a/typo3/sysext/core/Documentation/Changelog/8.0/Deprecation-72716-DeprecateFformathtmlForUsageInBackend.rst b/typo3/sysext/core/Documentation/Changelog/8.0/Deprecation-72716-DeprecateFformathtmlForUsageInBackend.rst
deleted file mode 100644
index 222c9e270c82..000000000000
--- a/typo3/sysext/core/Documentation/Changelog/8.0/Deprecation-72716-DeprecateFformathtmlForUsageInBackend.rst
+++ /dev/null
@@ -1,35 +0,0 @@
-
-.. 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
diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlViewHelper.php
index dc61a24539f4..c82a6246dc28 100644
--- a/typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlViewHelper.php
+++ b/typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlViewHelper.php
@@ -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();
-- 
GitLab