Skip to content

v0.23.2

Choose a tag to compare

@gimalay gimalay released this 08 Sep 23:38
· 3 commits to master since this release

Formatting a long paragraph with wrap_column set is safe again. When the wrap pushed a character like -, #, > or --- to the start of a new line, the next read saw it as a list, heading, quote or rule and reshaped your text — with HTML tags it dropped the rest of the paragraph outright. Those characters are escaped now, so the paragraph stays a paragraph.

iwe

Fixed

  • iwe normalize no longer turns a wrapped paragraph into a list, quote, heading, code block or HTML when wrap_column moves a marker such as -, #, >, 1., ```, ~~~, <div> or a lone --- to the start of a line — those markers are escaped now, and the HTML case used to drop the rest of the paragraph

iwes

Fixed

  • textDocument/formatting no longer turns a wrapped paragraph into a list, quote, heading, code block or HTML when wrap_column moves a marker such as -, #, >, 1., ```, ~~~, <div> or a lone --- to the start of a line — those markers are escaped now, and the HTML case used to drop the rest of the paragraph
Library crates (liwe, diwe)

liwe

Fixed

  • wrap_column escapes a block marker that wrapping moves to the start of a line — list, quote and heading markers, code fences, HTML tags and a --- or === left alone on a line — so a reflowed paragraph is not silently turned into another block, or dropped, on the next read