When you use addTemplateVariable method as one of these content types: html, rtf, docx or mht, phpdocx adds an altchunk tag. This tag is only supported in MS Office.
We recommend you to use replaceTemplateVariableByHTML method, that transforms HTML to WordML and then the placeholder is replaced.
Regards.