Closed paulius-petkus closed 1 day ago
Hello, nothing better than working on a real use case! The current implementation is looking for the target using the id
attribute. According to W3C, name
attribute is obsolete but is still supported by modern browser.
I will amend the code to support this too.
Thank you again for your real sample, it helps me to troubleshoot a lots on whitespaces and headings. You can delete the attachment as it may contains confidential data.
Describe the bug Html page has "table of contents" - hrefs to other parts of the same Html document. After the HTML --> DOCX conversion, table of contents lines navigate not to the concrete section, but to the very beginning of the document.
Expected behavior Hrefs should navigate into sections.
Repro
Edit: Removed attachments