Commit 1f632e8b authored by Pablo Rauzy's avatar Pablo Rauzy
Browse files

missing strip_tags

parent f0645ee0
......@@ -397,7 +397,7 @@ function render ($file, $mode='edit', $entry_dt='NEW') {
link_list: [
<?php $target = array_filter($pages, function ($p) { return !in_array($p['status'], array('lnk', 'del', 'newdel')); });
foreach ($target as $p): ?>
{ title: '<?php echo addslashes(htmlspecialchars_decode($groups[$p['grp']]['name'].' / '.$p['title'], ENT_HTML5 | ENT_QUOTES)); ?>', value: '<?php echo $relroot,addslashes(preg_replace('/\/?index\.html$/', '/', $p['file'])); ?>' },
{ title: '<?php echo addslashes(htmlspecialchars_decode(strip_tags($groups[$p['grp']]['name']).' / '.$p['title'], ENT_HTML5 | ENT_QUOTES)); ?>', value: '<?php echo $relroot,addslashes(preg_replace('/\/?index\.html$/', '/', $p['file'])); ?>' },
<?php endforeach; ?>
{ title: 'Files', menu: [
<?php $files = list_files($config['fileext']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment