yuin / goldmark

:trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.
MIT License
3.68k stars 255 forks source link

Keep footnote backlinks with text #151

Closed brief closed 4 years ago

brief commented 4 years ago

This inserts a non-breaking space before backlinks to prevent them from being separated from footnote text.

Results in the following when text wraps:

1. Roses are red, violets are
   blue ↩

Instead of this:

1. Roses are red, violets are blue
   ↩
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.