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

Brackets in URL links are not handled correctly #128

Open
gpoul opened this issue Apr 22, 2014 · 1 comment
Open

Brackets in URL links are not handled correctly #128

gpoul opened this issue Apr 22, 2014 · 1 comment
Labels
Milestone

Comments

@gpoul
Copy link

gpoul commented Apr 22, 2014

When there is a closing bracket in a link maruku uses this as the end of the link and not as part of the link.

A markdown sample:

[some link with brackets](http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Timestamp.html#toString())

This results in the following parser tree with maruku 0.7.1:

md_el(:document, md_par([
    md_im_link("some link with brackets", "http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Timestamp.html#toString(", nil),
    ")"
]))
@bhollis bhollis added the Bug label May 8, 2014
@bhollis bhollis added this to the 0.7.2 milestone May 8, 2014
@bhollis
Copy link
Owner

bhollis commented May 10, 2014

Thanks for the report - I'll add some pending tests, but the fix is tricky.

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