You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.
Describe the bug
When updating a model attribute (blog title, event title, page title, faq question, menu name or widget name), the attribute gets converted to HTML. The input is HTML escaped every time.
To Reproduce
Steps to reproduce the behavior:
Go to 'CMS'
Click on 'Pages'
Click on 'Edit' of a row
Add a special html character into the title box, i.e. "Sons & Daughters"
Click Save. The title box shows "Sons & Daughters"
Click Save again. The title box shows "Sons & Daughters"
Expected behavior
The value of the attributes should be displayed exactly at it was entered.
Additional context
These lines convert user input to html incorrectly:
Describe the bug
When updating a model attribute (blog title, event title, page title, faq question, menu name or widget name), the attribute gets converted to HTML. The input is HTML escaped every time.
To Reproduce
Steps to reproduce the behavior:
"Sons & Daughters"
"Sons & Daughters"
"Sons & Daughters"
Expected behavior
The value of the attributes should be displayed exactly at it was entered.
Additional context
These lines convert user input to html incorrectly:
Possible solution
Remove these lines.
The text was updated successfully, but these errors were encountered: