mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-30 11:12:58 +00:00
wrap_text() wrapped the PR body one line at a time. textwrap.wrap("")
returns an empty list, so blank lines between paragraphs were dropped,
and a body already wrapped wider than 72 columns had every long line
split on its own, leaving one or two words on short lines. See the merge
commit a5e801f74 for an example.
Lines of a paragraph are now joined before wrapping and blank lines are
kept. Paragraphs with list items, headings, quotes, tables or indented
lines are still wrapped line by line so their layout is not merged into
running text.
Closes #9145