fix & in title
parent
d02c9beb53
commit
13e72665ac
|
@ -1955,7 +1955,8 @@ function render_list($path = '', $files = [])
|
|||
} else {
|
||||
if (substr($path1, 0, 1)=='/') $pretitle = substr($path1, 1);
|
||||
if (substr($path1, -1)=='/') $pretitle = substr($pretitle, 0, -1);
|
||||
$tmp=splitlast($pretitle,'/');
|
||||
$pretitle = str_replace('&','&', $pretitle);
|
||||
$tmp = splitlast($pretitle, '/');
|
||||
if ($tmp[1]=='') {
|
||||
$n_path = $tmp[0];
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue