python-docx-template
python-docx-template copied to clipboard
Header field values resetting to template when saving to PDF
Describe your problem
I have a docx that I am filling out which includes a header. When I try to save the document as a PDF the header values reset to the template ones ( 01/01/2011 goes back to {{ DOB }} ). This only happens to header values.
Could you provide a fully runnable exemple ?
How are you saving it as a pdf?