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

Having a symbol that contains % breaks the evaluation of slim expressions #1190

Closed
tcnh opened this issue Feb 19, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@tcnh
Copy link
Contributor

commented Feb 19, 2019

When the slim context contains a var that contains a percentage (%) charavter, the mapConverter throws a StringIndexOutOfBounds exception when filling the evaluator's context. This seems to happen because htmlparser interprets any string containing % as valid html.

Reproduction:

|script|echo fixture|
|$var1=|echo |10%   |
|show  |echo |$`1+1`|

tcnh added a commit to tcnh/fitnesse that referenced this issue Feb 19, 2019

fhoeben added a commit that referenced this issue Feb 20, 2019

@fhoeben fhoeben closed this Feb 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.