Skip to content

Commit

Permalink
[BUGFIX] Add figure tag to external blocks in rte parsing
Browse files Browse the repository at this point in the history
Resolves: #99281
Releases: main, 11.5, 10.4
Change-Id: Ic65f08aa0bb67f97880d0ff5bb4c692fe7e6ffde
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76953
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benni Mack <benni@typo3.org>
  • Loading branch information
benjaminkott authored and bmack committed Dec 6, 2022
1 parent 0840414 commit 1ccf8df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ lib.parseFunc {
lib.parseFunc_RTE < lib.parseFunc
lib.parseFunc_RTE {
# Processing <ol>, <ul> and <table> blocks separately
externalBlocks = article, aside, blockquote, div, dd, dl, footer, header, nav, ol, section, table, ul, pre
externalBlocks = article, aside, blockquote, div, dd, dl, footer, header, nav, ol, section, table, ul, pre, figure
externalBlocks {
ol {
stripNL = 1
Expand Down Expand Up @@ -94,6 +94,7 @@ lib.parseFunc_RTE {
}
article < .div
aside < .div
figure < .div
blockquote < .div
footer < .div
header < .div
Expand Down

0 comments on commit 1ccf8df

Please sign in to comment.