Mark Pico's content Twig variable as being safe
This no longer requires themes to output the `content` variable using `{{ content|raw }}`, theme developers can use `{{ content }}` as before.
This commit is contained in:
parent
3480a520d9
commit
e0415c8c1d
1 changed files with 1 additions and 1 deletions
|
@ -2141,7 +2141,7 @@ class Pico
|
|||
'theme_url' => $this->getConfig('themes_url') . $this->getTheme(),
|
||||
'site_title' => $this->getConfig('site_title'),
|
||||
'meta' => $this->meta,
|
||||
'content' => $this->content,
|
||||
'content' => new Twig_Markup($this->content, 'UTF-8'),
|
||||
'pages' => $this->pages,
|
||||
'previous_page' => $this->previousPage,
|
||||
'current_page' => $this->currentPage,
|
||||
|
|
Loading…
Add table
Reference in a new issue