lukeed/tidyPublic

fix: end task hang at blocks

A tight task item has no paragraph events, so the hang stayed on and
indented a nested list into the item's text. The hang now ends when
any block starts in the item.

A collapsed image reference inside a link, like `[![a][]][b]`, wrote
its `[]` twice, because the link text ended before it.
LELuke Edwards authored
6284485Patch
Parent95d5d54
2 files changed+8-3
StackedSplit
crates/tidy/src/markdown/writer.rs+6 −3
crates/tidy/tests/markdown.rs+2 −0