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

Equation starting with parenthesis interpreted as link #129

Closed
mathisonian opened this issue Sep 1, 2017 · 0 comments
Closed

Equation starting with parenthesis interpreted as link #129

mathisonian opened this issue Sep 1, 2017 · 0 comments
Labels

Comments

@mathisonian
Copy link
Member

Issue by rreusser
Saturday May 20, 2017 at 17:05 GMT
Originally opened as idyll-lang/idyll-compiler#16


This PR adds a failing test for equations. This idyll code:

[Equation](y)[/Equation]

is interpreted as a link (text: "Equation", href: "y") followed by a stray closing tag. The result is a downstream build failure. A workaround is to add a space between ] and (:

[Equation] (y)[/Equation]

Unfortunately, I don't know how to resolve this ambiguity, though I don't think it would be unreasonable to try to detect it and just output an error message suggesting you need the space.


rreusser included the following code: https://github.com/idyll-lang/idyll-compiler/pull/16/commits

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

1 participant