From f2c037ff309c77378524bef2f6e84cb3f6d80378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Thu, 6 Jun 2019 17:49:37 +0200 Subject: [PATCH] Remove superfluous paragraphs from RTE output --- .../TypoScript/Library/ParseFunc.typoscript | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Library/ParseFunc.typoscript b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Library/ParseFunc.typoscript index ba6c1280..90e792d9 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Library/ParseFunc.typoscript +++ b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Library/ParseFunc.typoscript @@ -113,15 +113,7 @@ lib.parseFunc_RTE { dl < .div dd < .div } - nonTypoTagStdWrap { - encapsLines { - encapsTagList = p, pre, h1, h2, h3, h4, h5, h6, hr, dt - remapTag.DIV = P - nonWrappedTag = P - innerStdWrap_all.ifBlank =   - addAttributes.P.class > - } - } + nonTypoTagStdWrap.encapsLines > nonTypoTagStdWrap { HTMLparser = 1 HTMLparser {