From 23d9c510f3d544c2d48ca5c82ea521c339b62ecb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 18 May 2023 13:05:18 +0200 Subject: [PATCH] avoid [bracket] characters in links to satisfy W3C Validator --- themes/default.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/themes/default.sh b/themes/default.sh index e8b5f2f..7c31003 100755 --- a/themes/default.sh +++ b/themes/default.sh @@ -5,9 +5,9 @@ theme_head(){ local IFS="$BR" printf ' - + ' - for css in "$_BASE/[.]/cgilite/common.css" "$_BASE/[.]/themes/default.css" $PAGE_CSS; do + for css in "$_BASE/%5B.%5D/cgilite/common.css" "$_BASE/%5B.%5D/themes/default.css" $PAGE_CSS; do printf '' \ "$(HTML "${css##*//}")" done @@ -27,13 +27,13 @@ theme_pagemenu(){ if acl_write "$page"; then printf ' ' fi } -- 2.39.2