@@ -307,7 +307,7 @@ discard block |
||
| 307 | 307 | // Handle being passed in an object |
| 308 | 308 | if (\is_object($metaValue)) { |
| 309 | 309 | if ($metaValue instanceof Markup) { |
| 310 | - return trim(html_entity_decode((string)$metaValue, ENT_NOQUOTES, 'UTF-8')); |
|
| 310 | + return trim(html_entity_decode((string) $metaValue, ENT_NOQUOTES, 'UTF-8')); |
|
| 311 | 311 | } |
| 312 | 312 | if ($metaValue instanceof Asset) { |
| 313 | 313 | /** @var Asset $metaValue */ |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | { |
| 333 | 333 | // Swap out the remaining {xyz} tags with {{xyz}} |
| 334 | 334 | $template = preg_replace_callback('/(?<!\{)\{\s*(\w+)([^\{]*?)\}/', function(array $match) { |
| 335 | - $replace = $match[1] . $match[2]; |
|
| 335 | + $replace = $match[1].$match[2]; |
|
| 336 | 336 | return "{{ $replace|raw }}"; |
| 337 | 337 | }, $template); |
| 338 | 338 | |