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

fix parsing to deal with ) in URLs. #859

Closed
Pomax opened this issue Feb 25, 2017 · 3 comments · Fixed by #1034
Closed

fix parsing to deal with ) in URLs. #859

Pomax opened this issue Feb 25, 2017 · 3 comments · Fixed by #1034
Labels
category: links L1 - broken Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue

Comments

@Pomax
Copy link

Pomax commented Feb 25, 2017

A URL like http://www.wolframalpha.com/input/?i=antiderivative+for+sqrt((2*(1-t)*t*B+%2B+t%5E2*C)%27%5E2+%2B+(2*(1-t)*t*E)%27%5E2)&incParTime=true is perfectly fine, but will cause marked to treat it as http://www.wolframalpha.com/input/?i=antiderivative+for+sqrt((2*(1-t because of the closing parentheses.

That's probably worth fixing.

@matt-
Copy link
Contributor

matt- commented Feb 27, 2017

Marked "should" support the ) escape.. but it does not for some reason on the closing ). If you URL encode the ) to %29 it should work until this is resolved.

@Pomax
Copy link
Author

Pomax commented Feb 27, 2017

aye, doing that in the meantime with some preprocessing (I'm pretty sure last time I checked marked used regexp for most of its matching, which is insufficient to properly match around nested pairs)

@joshbruce
Copy link
Member

#984

@joshbruce joshbruce reopened this Jan 5, 2018
@joshbruce joshbruce added category: links L1 - broken Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue labels Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: links L1 - broken Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants