Itext XMLWorkerHelper ignores the value attribute of the <li> tag
I am using itext 5.4.5 with XMLWorker 5.4.5 to create pdf from html, which cames from ckEditor. Users can also insert text from text documents, and this sometimes leads to the following:
<ol>
<li value="3">some text1</li>
</ol>
<div>lorem ipsum dolor</div>
<ol>
<li value="100">some text2</li>
</ol>
<div>lorem ipsum dolor</div>
<ol>
<li value="77">some text3</li>
</ol>
this leads to ckEditor and in html like
3. some text1
lorem ipsum dolor
100. some text2
lorem ipsum dolor
77. some text3
But if itext converts this html to pdf, it ignores the li-tags value and sets it to "1." and this leads to something like
1. some text1
lorem ipsum dolor
1. some text2
lorem ipsum dolor
1. some text3
Does anyone know a way, reads itext, and also uses the numerical value of li-tag?
Thanks in advance.
+2