From 6badb2df95aa962b35265bc3f913c291c0146648 Mon Sep 17 00:00:00 2001 From: nscuro Date: Tue, 19 May 2026 14:04:57 +0200 Subject: [PATCH 1/2] Fix Scarf pixel injection causing invalid HTML Putting an img tag in the `` section of HTML documents is invalid and produces bad output in WebKit / Chrome based browsers. Didn't bother Firefox for some reason. Signed-off-by: nscuro --- overrides/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overrides/main.html b/overrides/main.html index ae3199b..33f4d77 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block extrahead %} +{% block scripts %} {{ super() }} {% if config.extra.scarf_pixel %} From 4473b15901fa2be906e495b3cbccc1919949c50c Mon Sep 17 00:00:00 2001 From: Niklas Date: Tue, 19 May 2026 14:08:19 +0200 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Niklas --- overrides/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overrides/main.html b/overrides/main.html index 33f4d77..50c459a 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -3,6 +3,6 @@ {% block scripts %} {{ super() }} {% if config.extra.scarf_pixel %} - + {% endif %} {% endblock %} \ No newline at end of file