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.
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.