lukeed/tidyPublic

fix: flush definitions after lists

pulldown-cmark stretches a list's range over the definitions that
follow it, so a repeated one there sat outside every item and was
still dropped. Definitions are now flushed when a list ends too, once
it has closed, so they keep the blank line that separates them from
the last item's text.
LELuke Edwards authored
fafc7d1Patch
Parente8f57fe
2 files changed+8-0
StackedSplit
crates/tidy/src/markdown/writer/mod.rs+4 −0
crates/tidy/tests/markdown.rs+4 −0