Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Additional page head HTML doesn't render if it contains the text "description"

« Go Back

Information

 
Article Number000098356
EnvironmentProduct: Sitefinity
Version: 11.1, 11.2, 12.0
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description

When a page has a Description set, if the "HTML included in the head" field contains "description", it will not render on the front-end.

Steps to Reproduce1. Create a new page, and set the "Description" to some text
2. Add the script shown below to the "HTML included in the head tag"
3. Observe that this script doesn't render on the front-end. If it is changed to "description2", then it renders ok.

The additional HTML:
------------------------------------------------------

<script type="application/ld+json">
{
"description": "test"
}
</script>
Clarifying Information
Error Message
Defect/Enhancement NumberBug 260951
Cause
This is a bug in Sitefinity. For more information see https://feedback.progress.com/Project/153/feedback/Details/260951.
Resolution
The issue has been fixed in Sitefinity 12.1.7100.0.
Workaround
Replace one of the characters in "description" with a JSON escape sequence, e.g. replace 'd' with '\u0064'.  It will render correctly and the consumer of this JSON will correctly interpret '\u0064escription' as "description".
Notes
Attachment 
Last Modified Date9/11/2019 10:33 AM