dfop02 / html4docx

Convert html to docx
MIT License
7 stars 2 forks source link

Google Docs numbered lists #4

Open MikitaTsiutsiunou opened 3 weeks ago

MikitaTsiutsiunou commented 3 weeks ago

Hi! I am getting a DOCX file from HTML code.

image

If I open the downloaded file in Word, everything works perfectly; the numbered lists are numbered correctly.

image

But when I want to push the result to Google Docs, the numbered lists don't work correctly, and ol start="1" doesn't help.

Снимок экрана 2024-08-21 141846

dfop02 commented 3 weeks ago

Hello @MikitaTsiutsiunou, I'll take a look on this issue later on this week, probably there is something that we can do to avoid this bug on Google Docs. I also have confirmed that there is other small bugs about this feature that I would fix too.

dfop02 commented 2 weeks ago

Hi @MikitaTsiutsiunou ! I made a try on the branch release/1.0.5 and put on the PR. Please take a try if helps with your problem, I couldn't solve by complete, but at least for 3 depth level should works now.

MikitaTsiutsiunou commented 1 week ago

Hi @MikitaTsiutsiunou ! I made a try on the branch release/1.0.5 and put on the PR. Please take a try if helps with your problem, I couldn't solve by complete, but at least for 3 depth level should works now

Everything got worse

Google Dock: image

World Pad image

This is what it should look like image