lukeed/tidyPublic

fix: end ignore copy at its line

An ignore range is copied as written up to its end directive. Inside a
quote, that copy ended with the end line's `> `, so the directive's own
prefix added a `>` line on every pass. The copy now stops at the start
of the end directive's line.
LELuke Edwards authored
b061a55Patch
Parent07c9d7d
2 files changed+12-1
StackedSplit
crates/tidy/src/markdown/writer/mod.rs+2 −1
crates/tidy/tests/markdown.rs+10 −0