jbostoen/itop-jb-mail-to-ticket-automation-v2

HTML / seemingly numbered lists not processed correctly

jbostoen opened this issue · 0 comments

Just an example here which happened when processing an e-mail (mail to ticket, my own fork, but it's the same in the official Combodo version).

The real contents look like this in MS Outlook (text censored):
image

The contents in iTop look like this:
image

HTML source:

<ol style="margin-top:0in" start="1" type="1"><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">xxx.</li></ol>

<p class="MsoNormal"> </p>

<ol style="margin-top:0in" start="2" type="1"><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">xxxx.</li></ol>

After stripping: there is indeed a paragraph in between, and iTop will ignore the "start".

See Combodo/iTop#368