Comments as html in activity log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2012 01:46 PM
Hi.
We have change the comment field (additional comments) to act as HTML field. But now when I update incident the comment will be added to the activity log as a plain text with html tags in it.
How can I change this so that the comment will also be displayed as html in the activity log?
Johann
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2012 09:08 AM
This might not be the perfect answer if you're using the WYSIWYG editor on your field, but this is how the Activity formatter will render HTML.
http://wiki.service-now.com/index.php?title=Using_Journal_Fields#Using_CODE_Tags_to_Render_HTML_in_a_Journal_Field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2016 02:50 AM
Hello,
What I would do is as follows:
==> you have your HTML Field where you enter your comment
==> You create a new field (hidden to user) where you copy your comment removing your HTML field. There are scripts such as this: Remove HTML Tags in Javascript with Regex - Stack Overflow
==> you audit the hidden field and not your HTML field.