sequentialSectionOrderedListItems() - inaccurate after mult-nested sections #1
Open
Description
function: sequentialSectionOrderedListItems()
file: true
description: When multiple <ol>
are nested, then the results become inaccurate for nested items and items immediately following the nested <ol>
items.
probability-of-occuring: somewhat likely
example:
NOTE - <li>item</li> is working correctly; <li>ERROR</li> is issue.
CALLED WITH - sequentialSectionOrderedListItems("tag", "div");
*******************************************************************
<div>
<ol>
<li>
SOME HEADING
<ol>
<li>item</li> <li>item</li>
<li>
item
<ol>
<li>item</li>
<li>item</li>
<li>
<ol>
<li>ERROR</li>
<li>ERROR</li>
</ol>
</li>
<li>item</li>
</ol>
</li>
<li>ERROR</li>
<li>ERROR</li>
<li>ERROR</li>
</ol>
</li>
<li>ERROR</li>
<li>next item/ERROR</li>
<li>next item/ERROR</li>
</ol>
</div>
<div>
<ol>
SOME HEADING
<li>item</li>
<li>item</li>
</ol>
</div>
<div>
<ol>
<li>SOME HEADING
<ol>
<li>item</li>
<li>item
<ol>
<li>item</li>
<li>item</li>
</ol>
<li>ERROR</li>
</li>
</ol>
</li>
</ol>
</div>
<div>
<ol>
SOME HEADING
<ol>
<li>item</li>
<li>item
<ol>
<li>item</li>
<li>item</li>
</ol>
<li>item</li>
</li>
</ol>
</ol>
</div>
*******************************************************************
Metadata
Assignees
Labels
No labels