-
@dolanmiu My input contains no references to background yet the output is consistently placing an empty background element in the xml. Is this new? Did I just not notice it before? Why are we adding elements that are not present in typical native word/OO xml? |
Beta Was this translation helpful? Give feedback.
Answered by
dolanmiu
Dec 6, 2022
Replies: 1 comment 5 replies
-
It is new yes I thought that adding empty tags do no harm and simplifies code logic, so why not? Do you notice a difference in your generated documents? https://github.com/dolanmiu/docx/blob/master/src/file/document/document.ts#L76 |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
dolanmiu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is new yes
I thought that adding empty tags do no harm and simplifies code logic, so why not?
Do you notice a difference in your generated documents?
https://github.com/dolanmiu/docx/blob/master/src/file/document/document.ts#L76