fix: Stop pairs of tags from getting put into paragraphs (#35864)
This commit is contained in:
committed by
Valeriy
parent
0d82d0a763
commit
93790af030
@ -45,7 +45,7 @@ function textToData(sectionIds) {
|
||||
const lines = child.value.split('\n');
|
||||
if (lines.filter(Boolean).length > 0) {
|
||||
lines.forEach((line, index) => {
|
||||
if (/^\s*$/.test(line)) {
|
||||
if (line === '') {
|
||||
currentParagraph = null;
|
||||
} else {
|
||||
if (!currentParagraph || index > 0) {
|
||||
|
Reference in New Issue
Block a user