Hi @plutext,
When using convert() function in XHtmlImporter to convert html to list of wml objects, I’ve noticed an issue when using underline styles within list items using the following structure:
"<ul><li><u><span>underline </span></u></li></ul>"
The underline is not getting applied to the text inside the tag when used this way. However, similar patterns using and work correctly:
"<ul>
<li><i><span>italics</span></i></li>
<li><b><span>bold</span></b></li>
</ul>
"
I suspect this might be because underline in Word supports multiple styles (single, double, dotted, etc.), unlike bold or italic, which are simpler boolean properties. This could be introducing complexity in how underline is parsed or rendered.
Could you please take a look and consider a fix for this?
Thank you!