Why Office OpenXML splits text between tags and how to prevent it?
I'm currently trying to work with docx files using PHPWord library and its templating system. I have found and updated someones (cant remember the name, but its not important) path to this library that can work with tables (replicate its rows and then use standard setValue() from PHPWord on each of row). If i create my own document, the data in xml is in normal structure, so the variable to be replaced ${variable} is in its own tag like this: <w:tbl> <w:tr> ... ${variable} </w:tr> </w:tbl> I simplified the code, in actual code there is number of other tags descibing sizes, styles, etc. My