[FOLLOWUP][TASK] Deprecate removeBadHTML 13/48313/3
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 27 May 2016 09:58:32 +0000 (11:58 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 27 May 2016 10:00:39 +0000 (12:00 +0200)
Mark stdWrap_removeBadHTML as deprecated in doc comment.

Resolves: #15415
Releases: master
Change-Id: I4534a8b93b731f8e736752e712c0c13293b0b05d
Reviewed-on: https://review.typo3.org/48313
Reviewed-by: Elmar Hinz <t3elmar@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-15415-DeprecateRemoveBadHTML.rst
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php

index a9ed1b8..f2d9db1 100644 (file)
@@ -7,6 +7,7 @@ Description
 
 Due to the wrong approach of removeBadHTML it is not 100% complete and does not keep its promise.
 
+- :php:``ContentObjectRenderer::stdWrap_removeBadHTML()``
 - :php:``ContentObjectRenderer::removeBadHTML()``
 - :typoscript:``stdWrap.removeBadHTML``
 
index bac00bd..3a87a8c 100644 (file)
@@ -2817,6 +2817,7 @@ class ContentObjectRenderer
      *
      * @param string $content Input value undergoing processing in this function.
      * @return string The processed input value
+     * @deprecated since TYPO3 v8, will be removed in TYPO3 v9
      */
     public function stdWrap_removeBadHTML($content = '')
     {