From 13e72665ac0e4fd2d2281568ec7197186e331abe Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Thu, 21 Oct 2021 12:49:24 +0800 Subject: [PATCH] fix & in title --- common.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.php b/common.php index 6f492a4..1f1eaee 100644 --- a/common.php +++ b/common.php @@ -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 {