@@ -64,7 +64,7 @@ |
||
64 | 64 | Event::on( |
65 | 65 | CraftVariable::class, |
66 | 66 | CraftVariable::EVENT_INIT, |
67 | - function (Event $event) { |
|
67 | + function(Event $event) { |
|
68 | 68 | /** @var CraftVariable $variable */ |
69 | 69 | $variable = $event->sender; |
70 | 70 | $variable->set('typogrify', self::$variable); |
@@ -280,7 +280,7 @@ |
||
280 | 280 | { |
281 | 281 | if ($text instanceof \Twig_Markup) { |
282 | 282 | // Either came from a Redactor field (or the like) or they manually added a |raw tag. We can trust it |
283 | - $text = (string)$text; |
|
283 | + $text = (string) $text; |
|
284 | 284 | } else { |
285 | 285 | // We don't trust it, so escape any HTML |
286 | 286 | $twig = Craft::$app->view->twig; |