Dimitar Zlatev

Results 4 comments of Dimitar Zlatev

I also need this functionality or at least a workaround. @shirotech can you share your approach?

Sorry, in my case it doesn't work because I have Output Escaping turned on: `\PhpOffice\PhpWord\Settings::setOutputEscapingEnabled(true);`

In my case I'm overriding the following method: ``` protected function setValueForPart($search, $replace, $documentPartXML, $limit) { $replace = preg_replace('/\\\n/', '', $replace); // replace \n with 'newline' $replace = preg_replace('/\\\s/', '...