-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle reference definitions when filling paragraphs
Previously, when fill-paragraph was called (or auto-fill-mode is on) lines could be broken between the label and URL for a reference definition if the line is long. Additionally, multiple reference definitions could become jumpled together into the same paragraph. Example A before fill-paragraph: [long-url]: http://a-really-long-url.example.com/... Example A after fill-paragraph (or autofill): [long-url]: http://a-really-long-url.example.com/... Example B before fill-paragraph: [label1]: http://short.example.com/ [label2]: http://also-short.example.com Example B after fill-paragraph: [label1]: http://short.example.com/ [label2]: http://also-short.example.com
- Loading branch information
Showing
3 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters