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

Square brackets around Textile link not processed correctly #564

Closed
tony-jeffreys opened this issue Jul 13, 2012 · 0 comments
Closed

Square brackets around Textile link not processed correctly #564

tony-jeffreys opened this issue Jul 13, 2012 · 0 comments

Comments

@tony-jeffreys
Copy link

It seems that surrounding a link in Textile with square brackets is not processed correctly. Square brackets need to be used when the link isn’t surrounded by spaces or punctuation, or when the URL ending may be ambiguous.

For example, the following line:

"Google":http://google.com

is converted to HTML OK:

<p><a href="http://google.com">Google</a></p>

However, the following line:

["Google":http://google.com]

is converted incorrectly:

<p>[<a href="http://google.com]">Google</a></p>

It should be converted to the same HTML as above.

@jgm jgm closed this as completed in f68b05e Jul 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants