@@ -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 */ |
@@ -338,7 +338,7 @@ discard block |
||
| 338 | 338 | } |
| 339 | 339 | // Swap out the remaining {xyz} tags with {{xyz}} |
| 340 | 340 | $template = preg_replace_callback('/(?<!\{)\{\s*(\w+)([^\{]*?)\}/', function(array $match) { |
| 341 | - $replace = $match[1] . $match[2]; |
|
| 341 | + $replace = $match[1].$match[2]; |
|
| 342 | 342 | return "{{ $replace|raw }}"; |
| 343 | 343 | }, $template); |
| 344 | 344 | $result = self::$view->renderString($template, $variables); |