mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:04:14 +08:00
**Bug** Issue #7725 Nested html is not colorized properly for markdown: ```md <div class="custom-class" markdown="1"> <div> nested div </div> </div> ``` **Fix** According to the commonmark spec, general html blocks end with a blank line: http://spec.commonmark.org/0.25/#html-blocks This change relaxes the while so that we only check for blanklines, instead of trying to match the start tag (which fails when nesting elements)