Skip to content
Snippets Groups Projects
Commit d6e08c52 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix encoding of json data, re #32

parent ba9525cd
No related branches found
No related tags found
No related merge requests found
Pipeline #8160 passed
......@@ -77,7 +77,7 @@ if ($navigation) {
$me = ['username' => 'nobody'];
$hasSidebar = false;
} ?>
<responsive-navigation :me='<?= json_encode($me) ?>' context="<?= htmlReady(Context::get() ?
<responsive-navigation :me="<?= htmlReady(json_encode($me)) ?>" context="<?= htmlReady(Context::get() ?
Context::get()->getFullname() : '') ?>" :has-sidebar="<?= $hasSidebar ? 'true' : 'false' ?>">
</responsive-navigation>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment