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

FIX Multi HTML entities in short codes #10903

Conversation

sabina-talipova
Copy link
Contributor

Description

  • Turn off double_encode for special characters in TextareaField.

Parent issue

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned below, this breaks TextareaField.

Instead, implement this in HTMLEditorField. You'll also need to check whether this is needed for HTMLReadonlyField.

src/Forms/TextareaField.php Outdated Show resolved Hide resolved
src/Forms/TextareaField.php Outdated Show resolved Hide resolved
@sabina-talipova sabina-talipova force-pushed the pulls/4.13/fix-multi-html-entities-in-shortcode branch 5 times, most recently from af81140 to 37d2ebb Compare August 8, 2023 00:26
@sabina-talipova sabina-talipova force-pushed the pulls/4.13/fix-multi-html-entities-in-shortcode branch from 37d2ebb to 037168a Compare August 8, 2023 01:08
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, works well locally.

@GuySartorelli GuySartorelli merged commit 4f6ab33 into silverstripe:4.13 Aug 8, 2023
@GuySartorelli GuySartorelli deleted the pulls/4.13/fix-multi-html-entities-in-shortcode branch August 8, 2023 01:20
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