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

[BUGFIX] Remove obsolete html_entity_decode #720

Merged

Conversation

webian
Copy link
Collaborator

@webian webian commented Sep 11, 2023

It was added because TYPO3 v9 had some encoding issue. Now it causes some problems, e.g.:
Having a tag in a CE with a data attribute like:
data-focus-point="{"x":0.5,"y":0.5}"
html_entity_decode transforms it to:
data-focus-point="{"x":0.5,"y":0.5}"
so the value of data-focus-point is just "{", causing incorrect JS behavior.

It was added because TYPO3 v9 had some encoding issue.
Now it causes some problems, e.g.:
Having a tag in a CE with a data attribute like:
data-focus-point="{"x":0.5,"y":0.5}"
html_entity_decode transforms it to:
data-focus-point="{"x":0.5,"y":0.5}"
so the value of data-focus-point is just "{", causing incorrect JS behavior.
@MattiasNilsson MattiasNilsson merged commit 5fd6a75 into FriendsOfTYPO3:master Sep 11, 2023
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.

None yet

2 participants