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.