add content + modif html

This commit is contained in:
2019-01-30 12:24:08 +01:00
parent 858bff0f81
commit fd2eac3dc4
46 changed files with 454 additions and 205 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ class Page implements PageInterface
unset($process_fields[$field]);
}
}
$text_header = Grav::instance()['twig']->processString(json_encode($process_fields), ['page' => $this]);
$text_header = Grav::instance()['twig']->processString(json_encode($process_fields, JSON_UNESCAPED_UNICODE), ['page' => $this]);
$this->header((object)(json_decode($text_header, true) + $ignored_fields));
}
}