Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Can someone help me how to remove the HTML tags in the Knowledge comments

NagaNandini N
Tera Guru

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.

 

 

2 ACCEPTED SOLUTIONS

Not applicable

Hello,

Try below code.

GlideSPScriptable().stripHTML(yourHtmlStr)

 

Please mark my answer as helpful/correct if it helps you.

Regards,

Namrata

View solution in original post

2 REPLIES 2

Not applicable

Hello,

Try below code.

GlideSPScriptable().stripHTML(yourHtmlStr)

 

Please mark my answer as helpful/correct if it helps you.

Regards,

Namrata