- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2023 06:29 PM
Can someone help me how to remove the HTML tags in the Knowledge comments?
I have gone through this KB: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0864000
Kindly help, please.
Please find the screenshot for your reference.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2023 11:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2023 11:44 PM
Hello,
Try below code.
GlideSPScriptable().stripHTML(yourHtmlStr)
Please mark my answer as helpful/correct if it helps you.
Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2023 11:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2023 11:44 PM
Hello,
Try below code.
GlideSPScriptable().stripHTML(yourHtmlStr)
Please mark my answer as helpful/correct if it helps you.
Regards,
Namrata