Skip to content

Commit

Permalink
Performance improvement for #513.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Syroeshko committed Apr 11, 2015
1 parent 520a7a8 commit a5c3645
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PhpWord/TemplateProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ public function saveAs($fileName)
*
* @return string
*/
protected function fixBrokenMacros($documentPart) {
protected function fixBrokenMacros($documentPart)
{
$fixedDocumentPart = $documentPart;

$pattern = '|\$\{([^\}]+)\}|U';
Expand Down

0 comments on commit a5c3645

Please sign in to comment.