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 7169e500c9722f311171705e889bfc4b37d83dcf
parent 120d88ad16580024783ab98bc6daedec4b1e72a8
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Thu, 12 Dec 2024 10:35:01 +0100

fix: exclude SVG favicons

Diffstat:
Mfetch_favicon.sh | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

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