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
  • Loading branch information
benjaminkott committed Dec 6, 2022
1 parent 2d2af75 commit 9a7283c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ lib.parseFunc {
lib.parseFunc_RTE < lib.parseFunc
lib.parseFunc_RTE {
externalBlocks := addToList(article, address, aside, blockquote, div, dd, dl, footer)
externalBlocks := addToList(header, nav, ol, section, table, ul, pre)
externalBlocks := addToList(header, nav, ol, section, table, ul, pre, figure)
externalBlocks {
ol {
stripNL = 1
Expand Down Expand Up @@ -112,10 +112,10 @@ lib.parseFunc_RTE {
stripNL = 1
callRecursive = 1
}
address < .div
blockquote < .div
article < .div
aside < .div
figure < .div
blockquote < .div
footer < .div
header < .div
nav < .div
Expand Down

0 comments on commit 9a7283c

Please sign in to comment.