How to insert lists into HTML Template without missconfiguration?

PavelP
Mega Sage

Hello,

we are using an Email Client template, for Launching emails for Major Incident Management.

The template in question is containing Table and a List, in the HTML format.

find_real_file.png

find_real_file.png

However, even when its inserted in the Template like a normal list when displayed in the final MIM Message, it contains additional spaces and additional <ul><li> tags. This doubles its size and makes it much harder to use:

find_real_file.png

find_real_file.png

Does anyone have a suggestion on how can this be fixed? 

Thanks in advance

Pavel

1 ACCEPTED SOLUTION

PavelP
Mega Sage

I was pointed towards this issue being an Known Error, possibly changed in future releases

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1005102

View solution in original post

3 REPLIES 3

Tony Chatfield1
Kilo Patron

Hi, with partial screenshots of your html code, it is not really viable to diagnose your issue apart from possible direct experience of the issue.
Perhaps you could share the code as plain text and exact steps to reproduce the behavior so that it can be reviewed.

Hi,

I investigated a bit more, and the issue is with using bullet-list inside table. When Adding simply that, the result was same. Code in this case being:

<p></p>
<table style="border-collapse: collapse; width: 100%;" border="1">
<tbody>
<tr>
<td style="width: 50%;">Test 1</td>
<td style="width: 50%;">
<ul style="list-style-position: inside;">
<li>Test1</li>
<li>Test2</li>
</ul>
</td>
</tr>
<tr>
<td style="width: 50%;">Test 2</td>
<td style="width: 50%;">&nbsp;</td>
</tr>
<tr>
<td style="width: 50%;">&nbsp;</td>
<td style="width: 50%;">&nbsp;</td>
</tr>
</tbody>
</table>

 

 

The result was following.

find_real_file.png

find_real_file.png

 

PavelP
Mega Sage

I was pointed towards this issue being an Known Error, possibly changed in future releases

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1005102