[BUGFIX] Content rendering: Definition lists in RTE are wrapped in p
[Packages/TYPO3.CMS.git] / typo3 / sysext / css_styled_content / static / v4.6 / setup.txt
index 075b331..5a2c413 100644 (file)
@@ -92,7 +92,7 @@ lib.parseFunc_RTE < lib.parseFunc
 lib.parseFunc_RTE {
        //  makelinks >
        # Processing <table> and <blockquote> blocks separately
-       externalBlocks = table, blockquote, ol,ul, div
+       externalBlocks = table, blockquote, dd, dl, ol,ul, div
        externalBlocks {
                # The blockquote content is passed into parseFunc again...
                blockquote.stripNL=1
@@ -125,9 +125,13 @@ lib.parseFunc_RTE {
                }
                div.stripNL = 1
                div.callRecursive = 1
+
+               # Definition list processing
+               dl < .div
+               dd < .div
        }
        nonTypoTagStdWrap.encapsLines {
-               encapsTagList = p,pre,h1,h2,h3,h4,h5,h6,hr
+               encapsTagList = p,pre,h1,h2,h3,h4,h5,h6,hr,dt
                remapTag.DIV = P
                nonWrappedTag = P
                innerStdWrap_all.ifBlank = &nbsp;