Double Quotes Display as HTML Entities ["TEST"] in Activity Stream
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi Community,
I’m investigating an issue with comments in the activity stream.
When a fulfiller enters “TEST” using double quotation marks, it displays as "TEST".
And when they use single quotation 'TEST', it displays correctly as 'TEST'.
We expect text entered as "TEST" in the Additional Comments should display as “TEST”, rather than "TEST" in the activity stream.
Could this be controlled by a system property, or should I check another configuration?
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- glide.ui.escape_text: This property dictates whether text in the UI layer is forcefully escaped. If set to true, double quotes are converted globally to protect rendering.
- glide.ui.security.allow_codetag: This determines if the [code] tag format is supported. If a user explicitly wants to leverage specific styling or characters without having them sanitised into raw plaintext, wrapping text in [code]"TEST"[/code] skips default journal literal escaping. If this property is set to false, it can break standard formatting rendering across your journal streams
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Shaikha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@shaikha ,
Thank you for the quick response.
However, in the affected instance, both properties are set to true.
I also checked another instance where the same properties are set to true, but the text displays as expected rather than as "Test".
Could there be another configuration or customization causing this difference?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi,
Please try checking for any customisation done as OOB instance works as expected.
- Navigate to System UI > UI Macros.
- Search for the macro responsible for rendering journal entries, typically named activity.xml or kb_activity.xml.
- Look through the Jelly code for lines containing j2:whitespaceor variable outputs using escape="true".
- If a custom or modified version of this macro exists in your instance, it might be double-escaping the text stream output (encoding an already encoded string, which forces the browser to print " as literal text instead of rendering the quotation mark symbol).
Is this happening for all tables (Incident, Change, Request), or is it isolated to a specific custom table?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @shaikha ,
Thanks for the response.
I checked All > UI Macros, but I couldn’t find either of these records: kb_activity.xml or activity.xml.
The issue occurs on sn_hr_core_case_talent_management and other sn_hr_core_case_* tables, while the functionality works as expected on sn_hr_le_case.