lukeed/tidyPublic

fix: squash labels like Prettier

Prettier collapses each run of whitespace in a reference label to one
space but keeps a space at either edge. mdtidy trimmed the edges of
definition and full-reference labels, and copied image reference
labels as written. Image references now get their label squashed too,
with the alt text of a full reference left as written.
LELuke Edwards authored
c636daePatch
Parent55f5126
3 files changed+45-4
StackedSplit
crates/tidy/src/markdown/writer/inline.rs+31 โˆ’1
crates/tidy/src/markdown/writer/mod.rs+7 โˆ’3
crates/tidy/tests/markdown.rs+7 โˆ’0