Browse Source
When running _HashHTMLBlocks, there's a step where we "match any empty block tags that should have been paired." Exclude "p" from that list. Given a document like this: <p> text That isolated "p" was getting sequestered away into its own blob resulting in an output document like this: <p> </p><p>text</p> By removing "p" from the list of "empty block tags that should have been paired," we get this output instead: <p> text</p> A nice improvement. Signed-off-by: Kyle J. McKay <mackyle@gmail.com>master
Kyle J. McKay
4 years ago
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue