lukeed/tidyPublic

fix: keep html beside blocks

Prettier keeps an HTML block on the line right after a paragraph or
another HTML block in the same container, instead of adding a blank
line. CommonMark already ends the previous block there, so both forms
parse the same. This applies to every preset: it keeps what the source
wrote and never drops a blank line that was there.
LELuke Edwards authored
37b6b75Patch
Parentbbc2066
2 files changed+29-0
StackedSplit
crates/tidy/src/markdown/writer.rs+13 −0
crates/tidy/tests/markdown.rs+16 −0