You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I can see, there is also no logic to image replacement for footnotes, so adding images to them will also break the file.
The text was updated successfully, but these errors were encountered:
Markiz9999
changed the title
Adding lists to footnotes results in broken DOCX generation
Adding lists to footnotes results to the generation of broken DOCX
Dec 2, 2024
Library generates broken DOCX when adding lists to footnotes.
Example of issue reproduction: https://codesandbox.io/p/sandbox/2sqj2q
After investigation, it seems to be a problem in the https://github.com/dolanmiu/docx/blob/master/src/export/packer/next-compiler.ts. There is no logic that replaces the numbering for footnotes, as is done in other parts of DOCX.
As I can see, there is also no logic to image replacement for footnotes, so adding images to them will also break the file.
The text was updated successfully, but these errors were encountered: