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

coradoc: last entry in unordered lists is being truncated #139

Open
ReesePlews opened this issue Oct 29, 2024 · 3 comments
Open

coradoc: last entry in unordered lists is being truncated #139

ReesePlews opened this issue Oct 29, 2024 · 3 comments

Comments

@ReesePlews
Copy link

after a recent conversion, i noticed that unordered lists were missing the last entry. this happened consistently except there were 3 such lists that did not have this problem. the structure of those lists was the same as the missing ones.

in this example:

*  entry1
*  entry2
*  entry3
*  entry4, and
*

where entry 5 was missing. the list marker * was present but a the last entry in all similar lists was missing.

identification of the lists could be made using a regex search for ,and\n then a manual correction, confirming with the original document.

@ReesePlews ReesePlews changed the title coradoc: last entry in unordered lists are being truncated coradoc: last entry in unordered lists is being truncated Oct 29, 2024
@hmdne
Copy link
Contributor

hmdne commented Nov 6, 2024

Can you provide an original HTML snippet?

@ReesePlews
Copy link
Author

hello @hmdne the original document was a docx file. i used this command:

bundle exec coradoc convert -I docx ./infile.docx --split-sections=1 -O adoc -o ./index.adoc

in the word file, all of the lists are formed this way:

image

they all have an ", and" at the end of the next to the last list entry. if you need access to the file, please let me know.

@hmdne
Copy link
Contributor

hmdne commented Nov 13, 2024

@ReesePlews I will need access. You can send me this file to hmdne airmail cc.

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

2 participants