From c70cfb866c49ca70685294f84fa12cac8a938e91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 17 Jul 2018 03:02:23 +0200 Subject: [PATCH] bugfix: use URL escaping for links instead of HTML escaping (relevant for # and ?) --- list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list.sh b/list.sh index 5c6634d..9482a31 100644 --- a/list.sh +++ b/list.sh @@ -6,7 +6,7 @@ list_item() { local name path length width height tags comment n name="$(HTML "$1")" - path="$(HTML "$ITEM/$1")" + path="$(URL "${ITEM}/${1}")" if [ -d "$_DATA/$ITEM/$1" ]; then printf '[a .list .dir href="%s?%s" %s]' \ -- 2.39.2