From 97ce3050cabb797e4e5aafb0c9a265b248a389ae Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Thu, 1 Jan 2026 07:54:32 -0500 Subject: [PATCH] Fix avatar: detect # placeholder and show initial instead --- serp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serp.py b/serp.py index 22a029f..5e022ac 100644 --- a/serp.py +++ b/serp.py @@ -986,7 +986,7 @@ def render_detail_page( block.className = 'post-block'; const avatarCol = document.createElement('div'); avatarCol.className = 'post-avatar-col'; - if (img.src && !img.src.includes('undefined')) {{ + if (img.src && !img.src.includes('undefined') && !img.src.endsWith('#') && img.getAttribute('src') !== '#') {{ const avatar = document.createElement('img'); avatar.className = 'post-avatar'; avatar.src = img.src;