Skip to content

Commit d13a3ff

Browse files
authored
fix: prevent hr elements inside of block cells to be wrapped in p (#77)
1 parent 37358fc commit d13a3ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/aem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ function wrapTextNodes(block) {
368368
'H4',
369369
'H5',
370370
'H6',
371+
'HR',
371372
];
372373

373374
const wrap = (el) => {

0 commit comments

Comments
 (0)