v1.5.0
This release enhances the support for implicit non-breaking spaces introduced in v1.4.0:
- In addition to the original rules,
commitmsgfmt
now never breaks lines before words comprised entirely of sequences of punctuation; this generalizes the old rule for en-dashes to all other punctuation. - When a footnote reference is followed immediately by punctuation
commitmsgfmt
no longer fails to apply the non-breaking space rule.
Besides the above direct improvements, as an indirect improvement commitmsgfmt
now requires that blocks of footnotes be preceded by an empty line. This eliminates an edge case where a footnote reference would end up at the start of a new line, then immediately degrade into a footnote. The improvements mentioned above make this edge case much less likely to occur because of commitmsgfmt
but it can still occur for other reasons.
Full Changelog: v1.4.1...v1.5.0