diff --git a/javascript/src/html_processor.ts b/javascript/src/html_processor.ts index 54d95265..83969caf 100644 --- a/javascript/src/html_processor.ts +++ b/javascript/src/html_processor.ts @@ -298,7 +298,6 @@ export class HTMLProcessor { assert(action === DomAction.Block || action === DomAction.Inline); const isNewBlock = !parent || action === DomAction.Block; const block = isNewBlock ? new Paragraph(element) : parent; - assert(block); // Collect all text nodes in this inline formatting context, while searching // descendant elements recursively.