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

Escape [|1|] pattern in Nesting.SUB for parseblock #4

Open
vshesh opened this issue Jun 27, 2016 · 0 comments
Open

Escape [|1|] pattern in Nesting.SUB for parseblock #4

vshesh opened this issue Jun 27, 2016 · 0 comments
Labels
Milestone

Comments

@vshesh
Copy link
Owner

vshesh commented Jun 27, 2016

If someone puts [|1|] in the body of a sub block it will be replaced by whatever [|1|] maps to in the subs dictionary of parseblock.
To be 100% correct, we need to escape the [|1|] before passing it to the block parser and then unescape it afterwards.

@vshesh vshesh added the bug label Jul 2, 2016
@vshesh vshesh added the ready label Jul 25, 2016
@vshesh vshesh added this to the 0.1.0 milestone Nov 23, 2016
@vshesh vshesh removed the ready label Dec 18, 2016
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