Skip to content

Commit 6c03522

Browse files
[TASK] Describe "removeTags" configuration possibilities (#1585)
Resolves: TYPO3-Documentation/Changelog-To-Doc#1067 Releases: main, 13.4, 12.4
1 parent af29a57 commit 6c03522

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

Documentation/Functions/Htmlparser.rst

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,28 @@ removeTags
128128

129129
.. confval:: removeTags
130130
:name: htmlparser-removeTags
131-
:type: (ibid)
131+
:type: string-list / array
132132

133133
List of tags (among the already set tags), which will be configured so
134134
they are surely removed.
135135

136+
.. code-block:: yaml
137+
:caption: EXT:rte_ckeditor/Configuration/RTE/Processing.yaml
138+
139+
processing:
140+
HTMLparser_db:
141+
removeTags: [link, meta, o:p, sdfield, style, title]
142+
# "string" definition is also possible:
143+
# removeTags: link, meta, o:p, sdfield, style, title
144+
145+
.. code-block:: typoscript
146+
:caption: EXT:my_extension/Configuration/TypoScript/page.tsconfig
147+
148+
RTE.default.proc {
149+
HTMLparser_db {
150+
removeTags: link, meta, o:p, sdfield, style, title
151+
}
152+
}
136153
137154
.. _htmlparser-keepNonMatchedTags:
138155

0 commit comments

Comments
 (0)