Damien Laguerre
Damien Laguerre
Here is my solution: ``` $templateProcessor->setValue('foo', 'Lorem.${newline}Ipsum....'); $new_line = new \PhpOffice\PhpWord\Element\PreserveText(''); $templateProcessor->setComplexValue('newline', $new_line); ``` I hope it helps.
It replaces all ${newline} not only the first one.
I've written a bash script to automate the fix on all containers. It patches the containers and restarts them. ``` #!/bin/bash for CONTAINER_ID in $(docker ps -f "name=postal_" --format "{{.ID}}")...