Skip to content

Changed parsons.block.php to resolve issue #1756#1761

Merged
sangwinc merged 1 commit into
maths:devfrom
jonaslache:dev
Jun 1, 2026
Merged

Changed parsons.block.php to resolve issue #1756#1761
sangwinc merged 1 commit into
maths:devfrom
jonaslache:dev

Conversation

@jonaslache

Copy link
Copy Markdown
Contributor

Hello everyone,

I tried to resolve issue #1756 by using json_encode(stack_string('...'), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) instead of just stack_string('...'). This should escape all kinds of quotation marks correctly. I tested this with both the default English language strings and with German language strings that include double quotation marks. Could someone please review this? Please let me know if I have made any mistakes (including any conventions I was not aware of).

Thanks and best regards,
Jonas

@sangwinc sangwinc merged commit 11c6aa3 into maths:dev Jun 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants