Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two different ordered lists are merged in the conversion result #32

Open
DunaMariusCosmin opened this issue Sep 9, 2022 · 0 comments
Open

Comments

@DunaMariusCosmin
Copy link

I have the following Word document: 2Lists.docx:
image
When I convert it to HTML, the lists are merged:
<ol> <li>Li1</li> <li>Li2</li> <li>NewLi1</li> <li>NewLi2</li> </ol>

This is the Word internal structure:
listsStructure
I think the converter should take into account the id of the numbering. Maybe the "org.zwobble.mammoth.internal.styles.ParagraphMatcher.matchesNumbering(Paragraph)" method should also compare these ids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant