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

Parser can't parse end-parenthesis in URL #327

Closed
BrentNewhall opened this issue Feb 5, 2017 · 6 comments
Closed

Parser can't parse end-parenthesis in URL #327

BrentNewhall opened this issue Feb 5, 2017 · 6 comments

Comments

@BrentNewhall
Copy link

End-parentheses in URLs cause the parser to stop parsing the URL at that point. For example:

Link to full image

Renders as:

Link to full image_sample.jpg

Additional Details

Brew code to reproduce :

Click to expand

Link to wikimedia page

@stolksdorf
Copy link
Collaborator

I'm assuming you are using the Markdown syntax for your image link. In that case refer to this thread about using brackets in Markdown links.

@BrentNewhall
Copy link
Author

BrentNewhall commented Feb 12, 2017 via email

@stolksdorf stolksdorf reopened this Feb 12, 2017
@stolksdorf
Copy link
Collaborator

stolksdorf commented Feb 12, 2017

Cool. Looks like that is a bug then.

Code to test.

[test](https://commons.wikimedia.org/wiki/File:%D0%9A%D0%B0%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9_%D0%B2%D0%B5%D0%BA_(1).jpg)

@stolksdorf stolksdorf added the solution found A solution exists; just needs to be applied label Feb 12, 2017
@stolksdorf
Copy link
Collaborator

stolksdorf commented Feb 12, 2017

Looks like it's not possible without some deep changes to the markdown lexer I'm using.

If you replace the closing paren in your url with %29 it will though.

@stolksdorf stolksdorf removed the solution found A solution exists; just needs to be applied label Feb 12, 2017
@BrentNewhall
Copy link
Author

BrentNewhall commented Feb 13, 2017 via email

@stolksdorf
Copy link
Collaborator

okay.

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