From b7bdbc4f6a978a6b8e4aecde970b0b2026864e88 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Thu, 26 Jun 2025 16:35:42 +0200 Subject: [PATCH] [TASK] Describe "removeTags" configuration possibilities Resolves: TYPO3-Documentation/Changelog-To-Doc#1067 Releases: main, 13.4, 12.4 --- Documentation/Functions/Htmlparser.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/Functions/Htmlparser.rst b/Documentation/Functions/Htmlparser.rst index bba9d6d2a..266607e3a 100644 --- a/Documentation/Functions/Htmlparser.rst +++ b/Documentation/Functions/Htmlparser.rst @@ -128,11 +128,28 @@ removeTags .. confval:: removeTags :name: htmlparser-removeTags - :type: (ibid) + :type: string-list / array List of tags (among the already set tags), which will be configured so they are surely removed. + .. code-block:: yaml + :caption: EXT:rte_ckeditor/Configuration/RTE/Processing.yaml + + processing: + HTMLparser_db: + removeTags: [link, meta, o:p, sdfield, style, title] + # "string" definition is also possible: + # removeTags: link, meta, o:p, sdfield, style, title + + .. code-block:: typoscript + :caption: EXT:my_extension/Configuration/TypoScript/page.tsconfig + + RTE.default.proc { + HTMLparser_db { + removeTags: link, meta, o:p, sdfield, style, title + } + } .. _htmlparser-keepNonMatchedTags: