From: Paul Hänsch Date: Thu, 18 May 2023 11:05:18 +0000 (+0200) Subject: avoid [bracket] characters in links to satisfy W3C Validator X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=23d9c510f3d544c2d48ca5c82ea521c339b62ecb;p=shellwiki avoid [bracket] characters in links to satisfy W3C Validator --- 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 }