pub / newsplanet

Planet-Style Newsfeed generated with perlanet
git clone https://src.jayvii.de/pub/newsplanet.git
Home | Log | Files | Exports | Refs | README | RSS

commit 120d88ad16580024783ab98bc6daedec4b1e72a8
parent c92a0fb0219e16f4533294a1927decfa520afbd2
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Thu, 12 Dec 2024 10:28:46 +0100

fix: allow other relations to be within the icon line

Diffstat:
Mfetch_favicon.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fetch_favicon.sh b/fetch_favicon.sh @@ -30,7 +30,7 @@ for DOMAIN in $DOMAINS; do # Fetch Favicon reference from HTML ICN_URI=` echo "$HTML" | \ - grep "rel=\"icon\"" | \ + grep "rel=\"[^\"]*icon[^\"]*\"" | \ tail -n 1 | \ sed -E -e 's/^.*href=\"([^\"]*)\".*$/\1/' `