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

noEscape cause additions of integer values #1838

Open
christophermhawaudio opened this issue Mar 19, 2022 · 2 comments
Open

noEscape cause additions of integer values #1838

christophermhawaudio opened this issue Mar 19, 2022 · 2 comments

Comments

@christophermhawaudio
Copy link

Hello,

When I set the parameter "noEscape" to true, it seems that tokens are added instead of concatenated. So if I reference integers inside tokens, an addition will be realised if no separation character is present between tokens.

According to the documentation, "noEscape" is just a way to disable HTML characters escaping, and I think that a solution would be to use a string version of the variables referenced by the tokens instead of the variables values directly.

Here is an example of the bug with multiple cases: https://jsfiddle.net/mhd0k4ne/70/

Thanks.

@jaylinski jaylinski self-assigned this Mar 19, 2022
@jaylinski jaylinski removed their assignment Mar 19, 2022
@christophermhawaudio
Copy link
Author

Any news about this bug?

@rickyes
Copy link

rickyes commented Jun 21, 2022

@jaylinski Excuse me, is there any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants