From 9a7283cd6572d85409a8da33f4ab440bedcafef9 Mon Sep 17 00:00:00 2001 From: Benjamin Kott Date: Tue, 6 Dec 2022 08:50:30 +0100 Subject: [PATCH] [BUGFIX] Add figure tag to external blocks in rte parsing --- .../TypoScript/ContentElement/Helper/ParseFunc.typoscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Configuration/TypoScript/ContentElement/Helper/ParseFunc.typoscript b/Configuration/TypoScript/ContentElement/Helper/ParseFunc.typoscript index 34e3e08f0..1cc445a1c 100644 --- a/Configuration/TypoScript/ContentElement/Helper/ParseFunc.typoscript +++ b/Configuration/TypoScript/ContentElement/Helper/ParseFunc.typoscript @@ -64,7 +64,7 @@ lib.parseFunc { lib.parseFunc_RTE < lib.parseFunc lib.parseFunc_RTE { externalBlocks := addToList(article, address, aside, blockquote, div, dd, dl, footer) - externalBlocks := addToList(header, nav, ol, section, table, ul, pre) + externalBlocks := addToList(header, nav, ol, section, table, ul, pre, figure) externalBlocks { ol { stripNL = 1 @@ -112,10 +112,10 @@ lib.parseFunc_RTE { stripNL = 1 callRecursive = 1 } - address < .div - blockquote < .div article < .div aside < .div + figure < .div + blockquote < .div footer < .div header < .div nav < .div