-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Copy link
Labels
0. Needs triagePending approval or rejection. This issue is pending approval.Pending approval or rejection. This issue is pending approval.bugSomething isn't workingSomething isn't workingneeds infoNot enough information providedNot enough information provided
Description
Steps to reproduce
- Create a form with a question label containing
an apostrophe, for example: "Qu'est-ce que" - Save the form
- Open the form page (the shared link that
respondents use to fill in the form)
Observed behavior
The apostrophe character is rendered as the HTML
entity ' directly visible in the question label
on the form page itself, for example:
"Qu'est-ce que"
Expected behavior
The plain apostrophe character ' should be displayed
in the question label, not its HTML entity equivalent.
Possible cause
User input is being HTML-escaped when saved, but the
escaping is not reversed when rendering the form page.
A call to html_entity_decode() or equivalent unescaping
seems to be missing on the output rendering side.
Impact
Question labels containing apostrophes or other
punctuation are displayed with raw HTML entities,
which is confusing for respondents and makes the
form look broken.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0. Needs triagePending approval or rejection. This issue is pending approval.Pending approval or rejection. This issue is pending approval.bugSomething isn't workingSomething isn't workingneeds infoNot enough information providedNot enough information provided