Skip to content

Commit

Permalink
[TASK] Align parseFunc with TYPO3 Core (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
twoldanski authored Sep 13, 2024
1 parent d4f20e5 commit 203eb09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Configuration/TypoScript/Helpers/ParseFunc.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ lib {
parseFunc_RTE < lib.parseFunc
parseFunc_RTE {
# Processing <ol>, <ul> and <table> blocks separately
externalBlocks = article, aside, blockquote, div, dd, dl, footer, header, nav, ol, section, table, ul, pre, figure
externalBlocks = article, aside, blockquote, div, dd, dl, footer, header, nav, ol, section, table, ul, pre, figure, figcaption
externalBlocks {
ol {
stripNL = 1
Expand Down Expand Up @@ -108,13 +108,17 @@ lib {
article < .div
aside < .div
figure < .div
figcaption {
stripNL = 1
}
blockquote < .div
footer < .div
header < .div
nav < .div
section < .div
dl < .div
dd < .div

}

nonTypoTagStdWrap {
Expand Down
2 changes: 1 addition & 1 deletion Configuration/TypoScript/constants.typoscript
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
styles.content {
allowTags = a, abbr, acronym, address, article, aside, b, bdo, big, blockquote, br, caption, center, cite, code, col, colgroup, dd, del, dfn, dl, div, dt, em, font, footer, header, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, label, li, link, meta, nav, ol, p, pre, q, s, samp, sdfield, section, small, span, strike, strong, style, sub, sup, table, thead, tbody, tfoot, td, th, tr, title, tt, u, ul, var
allowTags = a, abbr, acronym, address, article, aside, b, bdo, big, blockquote, br, caption, center, cite, code, col, colgroup, dd, del, dfn, dl, div, dt, em, figcaption, figure, font, footer, header, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, label, li, link, mark, meta, nav, ol, p, pre, q, s, samp, sdfield, section, small, span, strike, strong, style, sub, sup, table, thead, tbody, tfoot, td, th, tr, title, tt, u, ul, var
shortcut.tables = tt_content

textmedia {
Expand Down

0 comments on commit 203eb09

Please sign in to comment.