Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Correctly nest lists even if the list id's are different #22

Open
jlward opened this Issue · 0 comments

1 participant

@jlward
Owner

If you have a series of lists such that

<w:numPr>
    <w:ilvl w:val="0"/>
    <w:numId w:val="1"/>
    AAA
</w:numPr>
<w:numPr>
    <w:ilvl w:val="0"/>
    <w:numId w:val="2"/>
    BBB
</w:numPr>
<w:numPr>
    <w:ilvl w:val="0"/>
    <w:numId w:val="1"/>
    CCC
</w:numPr>

Currently that will create a list structure of:

<ol><li>AAA</li></ol>
<ol><li>BBB</li></ol>
<ol><li>CCC</li></ol>

What we want to see instead is:

<ol>
    <li>AAA
        <ol>
            <li>BBB</li>
        </ol>
    </li>
    <li>CCC</li>
</ol>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.