@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | // coem with the expected content |
98 | 98 | $variables = (string) preg_replace_callback( |
99 | 99 | '/{{(.*?)}}/', |
100 | - function ($match) { |
|
100 | + function($match) { |
|
101 | 101 | return strip_tags($match[0]); |
102 | 102 | }, |
103 | 103 | (string) preg_replace('/(?<!{){(?!{)<\/w:t>[\s\S]*?<w:t>{/', '{{', $content) |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | |
106 | 106 | return (string) preg_replace_callback( |
107 | 107 | '/{%(.*?)%}/', |
108 | - function ($match) { |
|
108 | + function($match) { |
|
109 | 109 | return strip_tags($match[0]); |
110 | 110 | }, |
111 | 111 | (string) preg_replace('/(?<!{){(?!{)<\/w:t>[\s\S]*?<w:t>{/', '{%', $variables) |