Task Form - Update Annotations using HTML - Can't use <br>, ironically it breaks the annotation. Why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 08:34 PM
Task Form - Update Annotations using HTML - Can't use <br>, ironically it breaks the annotation and deletes text from other annotations. Can anyone offer advice or should I raise a 'HI' ticket?
I am currently trying to edit an annotation and use some HTML tags. The basic ones I have used appear to work until you use 'break' <br>
This is the result
I have recreated the Annotations and the result is below.
Outage red
<p> A Service Outage reflects a customer's ability to use an ICT business Service or System.</p>
Any outage to a service during its business hours <b> must be flagged</b>
Outage Blue
<p> A server going down means nothing, while a system going down does. </p>
<p> THIS INFORMATION IS USED FOR SERVICE DESK COMMS TO THE BUSINESS. </p>.
<b>Please be specific.</b>
Testing Annotation
This is to test Adding a new line - no break has been included yet
<b> and making something bold </b>
So to recreate the error. I add a break to the test.
Testing Annotation
This is to test Adding a new line - <br> Break is included
<b> and making something bold </b>
The break <br> in the test annotation not only kills all the annotations with HTML tags it deletes the first paragraph
see result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2019 09:50 PM
Actually while I am at it; the html 5 specification states <b> is a last resort, rather important text should be denoted with <strong></strong> tags.
I believe TinyMCE (the html editor used in servicenow and this commuinty uses <strong> for the bold for you. The problem with annotations is that you are left ot your own devices for the html.
Hope this helps.
Regards,
Stewart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2019 10:46 PM
Thanks Stuart,
I'm on hols from tomorrow but I will give this a try on my return and let you know how it went.
Appreciate the feedback
rgs
Nigel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2021 08:26 PM
This seems to only work in Form Layout and not in Form Design (Form Design won't even let me enter tags)