lukeed/tidyPublic

fix: break beside CJK markup

Prettier keeps a space beside Chinese or Japanese text unbroken only
when text is on both sides. Next to code, emphasis, links or HTML the
space breaks, and a line break there joins as a space. Wrap always on
corpus C goes from 3,201 to 3,389 files matching Prettier.
LELuke Edwards authored
47531bdPatch
Parentbdd4e2d
3 files changed+56-36
StackedSplit
crates/tidy/src/markdown/wrap.rs+36 −36
crates/tidy/tests/fixtures/markdown/cjk-markup.md+10 −0
crates/tidy/tests/markdown.rs+10 −0