Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referenced-style links #337

Closed
tomassliz opened this issue Dec 31, 2013 · 2 comments
Closed

Referenced-style links #337

tomassliz opened this issue Dec 31, 2013 · 2 comments
Labels

Comments

@tomassliz
Copy link

When I try wrote something like this with some tabs after colon:
Link to page [Google][] and next text.
[Google]: http://google.com/

rendered link is broken, tabs are encoded to this result:
<a href="%09%09%09http://google.com/">Google</a>

On Daring Fireball is this description for referenced links style:

  • Square brackets containing the link identifier (optionally indented from the left margin using up to three spaces);
  • followed by a colon;
  • followed by one or more spaces (or tabs);
  • followed by the URL for the link;
  • optionally followed by a title attribute for the link, enclosed in double or single quotes, or enclosed in parentheses.

I think, this is bug.

@juanxo
Copy link
Contributor

juanxo commented Jan 2, 2014

In fact, it's stated in the source code comments, but it's not implemented as you can see here

juanxo added a commit to juanxo/redcarpet that referenced this issue Jan 2, 2014
@tomassliz
Copy link
Author

Nice work, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants