Skip to content

Instantly share code, notes, and snippets.

@wapcaplet
Created December 19, 2010 03:21
Show Gist options
  • Save wapcaplet/747073 to your computer and use it in GitHub Desktop.
Save wapcaplet/747073 to your computer and use it in GitHub Desktop.
When a line includes a {...} style link, and the link text contains spaces, and the paragraph that the link is in contains more than 75 characters, the hyperlink does not get generated correctly (and instead, the raw {...} expression is displayed in the YARD output).
LINK WORKS:
If you make changes that you'd like to share, push them into your Kelp fork,
then {http://github.com/wapcaplet/kelp/pulls submit} a pull request.
LINK DOESN'T WORK:
If you make changes that you'd like to share, push them into your Kelp fork,
then {http://github.com/wapcaplet/kelp/pulls submit a pull request}.
123456789 This is a link to {http://github.com/wapcaplet/ my github page}
-- Link generated correctly
1234567890 This is a link to {http://github.com/wapcaplet/ my github page}
-- Link generated correctly
12345678901 This is a link to {http://github.com/wapcaplet/ my github page}
-- Link generated correctly
123456789012 This is a link to {http://github.com/wapcaplet/ my github page}
-- Link NOT generated, I get the raw {...} expression in YARD output
123456789012
This is a link to {http://github.com/wapcaplet/ my github page}
-- Link NOT generated, I get the raw {...} expression in YARD output
12345678901
This is a link to {http://github.com/wapcaplet/ my github page}
-- Link generated correctly
123456789012 This is a link to {http://github.com/wapcaplet/ my_github_page}
-- Link generated correctly
12345678901234567890 This is a link to {http://github.com/wapcaplet/ my_github_page}
-- Link generated correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment