Task Form - Update Annotations using HTML - Can't use <br>, ironically it breaks the annotation. Why?

nigelharrison
Giga Contributor

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

find_real_file.png

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>

find_real_file.png


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.

find_real_file.png

 

 

 

 

 

7 REPLIES 7

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

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

This seems to only work in Form Layout and not in Form Design (Form Design won't even let me enter tags)