Forum Bugs

List item with empty div is collapsed

cnj125
I am currently using Prince 10. When I created a list item with an empty div inside, it is collapsed in PDF (please refer to attachment).

<p>
 Testing.
</p>
<ul>
  <li><div></div></li>
  <li><div></div></li>
</ul>
<p>
 Testing.
</p>


Please advise. Thanks

Ben
  1. prince_list_issue.png0.9 kB
mikeday
That's a little awkward, we'll take a look.

Note that adjacent empty list items will get vertically collapsed, even in browsers.
cnj125
Thank you for your attention
hallvord
Hi, I added your nice little test case (somewhat modified) here: https://github.com/yeslogic/miscellaneous-testcases/tree/master/layout
Hope you don't mind :)

Announcement: repos for tests/utils