Performance improvement for #513.

This commit is contained in:
Roman Syroeshko 2015-04-11 21:41:58 +04:00
parent 520a7a8bc6
commit a5c3645717
1 changed files with 2 additions and 1 deletions

View File

@ -352,7 +352,8 @@ class TemplateProcessor
*
* @return string
*/
protected function fixBrokenMacros($documentPart) {
protected function fixBrokenMacros($documentPart)
{
$fixedDocumentPart = $documentPart;
$pattern = '|\$\{([^\}]+)\}|U';