"<" ,">", symbol change to < > when apply template in agent workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2023 08:12 PM
Hello everyone! I have a question about apply template on Agent Workspace.
I'm using Utah version instance.
The '<' (The greater than), '>' (The less than) symbols when I apply template it will change to "<" ">".
Is there any solution for this issue?
Hope everyone can help!
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2023 10:33 PM
Hi @Duy Nguyen Truo ,
This is a common behavior in HTML or XML, where these symbols are encoded for displaying as text rather than interpreted as tags. To resolve this issue, you can try using the raw syntax to prevent the conversion of these symbols. Instead of using "<" and ">", you can use their HTML entity representations: "<" and ">". By using the HTML entity codes, the symbols should be rendered correctly without being interpreted as tags.
<template>
<p>This is a template code.</p>
</template>
By using the HTML entity codes, the symbols will be displayed correctly when you apply the template.
Regards,
Shravan.
Please mark this as helpful and correct answer if this helps you
Shravan
Please mark this as helpful and correct answer, if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2023 08:42 AM
We got the same thing last weekend as well when we upgraded to Tokyo 7a. After searching the Known Error Portal I was able to find this: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1309211.
Hopefully this helps and they patch it soon. We have a lot of templates with symbols that also have HTML meanings in our Templates.