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 string results with html characters not displayed after submit #2285

Merged
merged 4 commits into from
Mar 29, 2023

Conversation

xispa
Copy link
Member

@xispa xispa commented Mar 29, 2023

Description of the issue/feature this PR addresses

This Pull Request ensures that html characters are escaped when displaying a result of a test with the setting "StringResult" enabled

Current behavior before PR

Results with special characters (e.g. <) are not displayed after submit

Before submit:

224707383-fcb32f32-d093-492c-82cf-ff2b9f11e5c2

After submit:

224707422-04758b72-ee4c-43b5-b802-dce76919f2f8

Desired behavior after PR is merged

Result is displayed, with the special hmtl characters escaped

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@xispa xispa requested a review from ramonski March 29, 2023 11:16
@xispa xispa added the Bug 🐞 label Mar 29, 2023
@ramonski ramonski merged commit ec7d329 into 2.x Mar 29, 2023
@ramonski ramonski deleted the fix-html-escape-result branch March 29, 2023 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants