Port HTML import improvements from enterprise codebase
This commit is contained in:
@@ -11,6 +11,7 @@ export default function emptyParagraphs(turndownService: TurndownService) {
|
||||
return (
|
||||
node.nodeName === "P" &&
|
||||
node.children.length === 1 &&
|
||||
node.textContent?.trim() === "" &&
|
||||
node.children[0].nodeName === "BR"
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user