This project has moved. For the latest updates, please go here.

UL bullet lists not rendering properly (or at all)

Feb 20, 2015 at 5:24 PM
I have some fairly simply HTML containing <ul> lists. Unfortunately these seem to get lost entirely when generating OpenXML. The output is just w:p/w:r blocks, not w:pPr. Is this a known issue?

From a quick glance through the source it looks like there isn't really a distinction between <ol> and <ul>.... but <ol> doesn't work either!

Is this is a known issue? (it's a bit of a show stopper for me, sadly)

Is there anything I can do in the html markup to mitigate this?
Coordinator
Feb 25, 2015 at 10:34 AM
I have just tested and it works correctly.
Are you sure you are inserting the converted bits into the same document you use to instantiate HtmlConverter ?

Could you post your Html + call to HtmlConverter ?
Mar 23, 2015 at 4:59 PM
I have the same problem.

When I try:
<ol>
  <li>sth</li>
  <li>sth</li>
</ol>
I get no numbering (or bullets in case of <ul>).

But they do work in nested lists!

It may be relevant that the list is inside a <td>.
Mar 24, 2015 at 2:26 PM
Ignore my comment; I was using an old version (from NuGet). Downloading and building from source solved this problem.
Coordinator
Mar 24, 2015 at 7:14 PM
I'm sorry about this, I'm not the owner with the NuGet package and I have nothing related with him.
Anyway, I'm glad it finally works as expected.