I am using PHPWord to load a docx template and replace tags like {test}
. This is working perfectly fine.
But I want to replace a value with html code. Directly replacing it into the template is not possible. There is now way to do this using PHPWord, as far as I know.
I looked at htmltodocx. But it seams it will not work either, is it posible to transform a peace of code like <p>Test<b>test</b><br>test</p>
to a working doc markup? I only need the basic code, no styleing. but Linebreaks have to work.