From 73fdd81e7aa93d2d3977d30e2d93fff1dca389be Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Fri, 10 Jan 2020 17:22:42 +0100 Subject: [PATCH] Fix rte parsing --- .../TypoScript/Setup/ContentElements/ParseFunc.typoscript | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Configuration/TypoScript/Setup/ContentElements/ParseFunc.typoscript b/Configuration/TypoScript/Setup/ContentElements/ParseFunc.typoscript index 7070d31..747a8df 100644 --- a/Configuration/TypoScript/Setup/ContentElements/ParseFunc.typoscript +++ b/Configuration/TypoScript/Setup/ContentElements/ParseFunc.typoscript @@ -51,8 +51,8 @@ lib.parseFunc_RTE { blockquote < .div dl < .div dd < .div - p < .div } + plainTextStdWrap { replacement { 10 { @@ -68,8 +68,14 @@ lib.parseFunc_RTE { } useRegExp = 1 } + 11 { + search = #\r\n# + replace = + useRegExp = 1 + } } } + nonTypoTagStdWrap { encapsLines { encapsTagList = p,h1,h2,h3,h4,h5,h6,hr,dt