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

11.1.0 introduces bug in formatter, apostrophes escape input #19095

Open
kluvin opened this issue Jun 5, 2023 · 2 comments
Open

11.1.0 introduces bug in formatter, apostrophes escape input #19095

kluvin opened this issue Jun 5, 2023 · 2 comments

Comments

@kluvin
Copy link

kluvin commented Jun 5, 2023

Expected behaviour

{value:%b '%y} is equivalent to {value:%b} '{value: %y}

Actual behaviour

{value:%b '%y} is not equivalent to {value:%b} '{value:%y}

Live demo with steps to reproduce

https://jsfiddle.net/kluvin/xdpm3jnr/9/

Product version

introduced 11.1.0

Affected browser(s)

FF, probably all

@highsoft-bot highsoft-bot added this to To do in Development-Flow via automation Jun 5, 2023
@TorsteinHonsi
Copy link
Collaborator

Thanks for writing!

However, I can't reproduce the issue. The only difference I see between the two expressions as that {value:%b} '{value: %y} renders a space between the apostrophe and the year, while {value:%b '%y} does not. Which is expected. This is how your fiddle looks to me:

Skjermbilde 2023-06-06 kl  08 08 01

@kluvin
Copy link
Author

kluvin commented Jun 6, 2023

Hi Torstein, sorry. I think I gave you the wrong Fiddle version, meaning I relied too much on autosave.

https://jsfiddle.net/kluvin/xdpm3jnr/9 produces the issue (also now referenced above).

E: On the space, that was a mistake, and has now been fixed.

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

No branches or pull requests

2 participants