Performance improvement for #513.
This commit is contained in:
parent
520a7a8bc6
commit
a5c3645717
|
|
@ -352,7 +352,8 @@ class TemplateProcessor
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function fixBrokenMacros($documentPart) {
|
protected function fixBrokenMacros($documentPart)
|
||||||
|
{
|
||||||
$fixedDocumentPart = $documentPart;
|
$fixedDocumentPart = $documentPart;
|
||||||
|
|
||||||
$pattern = '|\$\{([^\}]+)\}|U';
|
$pattern = '|\$\{([^\}]+)\}|U';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue