Forum Bugs

Nested Counter Bug

davidlholland
Implementing an outline numbered list with nested counters does not work after the first outline numbered list in the document. The attached file contains three outline numbered lists. The first works perfectly. The following outline numbered lists seem to have remnants from the first outline numbered list. The outline numbered lists in this document work perfectly for all three outline numbered lists in the most recent Internet Explorer.
  1. NestedCounterBug.zip2.0 kB
    As indicated above, this is the file with the outline numbered lists.
mikeday
Thanks, we'll take a look at this issue.
mikeday
The issue appears to be nested counter scopes escaping the parent element. We will work on this for the next release of Prince. In the meantime, you may be able to workaround the issue by tweaking the markup, eg. removing surrounding <div> elements, or resetting the counter on the <div> instead of the <ol>. Sorry for any inconvenience this causes.
davidlholland
Removing surrounding <div> elements solves the problem. Thank you!
mikeday
We have fixed this bug in Prince 8.0, beta version available now. Thanks again for letting us know. :)