Approval description is not having line breaks in service now portal approval form.

Balaram7
Kilo Sage

Hi all, 

 

Need your help in displaying the description with the line breaks on the approval form.

Since we dont have option of displaying the description on the approval form, we cloned OOB Approval widget and added the below lines in the body HTML template.

Balaram7_0-1676285212522.png

Can anyone please help me with what tags need to be added in html to display line breaks in the description of approval form.

 

Thank you,

Balaram.

 

 

7 REPLIES 7

Hemant Goldar
Mega Sage
Mega Sage

Hi @Balaram7 ,

Try <br> tag in HTML to break a line.

I hope this helps!

 

Regards,

Hemant 

**Please mark my answer correct or helpful based on the impact**

Hi Hemant,

 

Thanks for quick response.

Tried by updating <br> .....</br>tag still no luck.

below is the screenshot.

Balaram7_0-1676290127021.png

 

Could you please guide me the another possible way to resolve this issue.

 

Thank you,

Balaram.

 

Hemant Goldar
Mega Sage
Mega Sage

@Balaram7 
No need to end <br> tag..

OR 
try to create a <div>
<div>{{::task.description.display_value}}</div>.

Thanks,

Hemant

Updated Hemant,

Still the issue exists.

 

Thank you,

Balaram.