From 1e3952a7fba04675e9bf7aa9952f34bdcc4073a4 Mon Sep 17 00:00:00 2001 From: Bryce Date: Tue, 16 Jun 2026 20:05:43 -0700 Subject: [PATCH] fix(auth): login error-details pre escaping Alpine scope The error-details
 lived inside a  that was
itself inside a 

. Since

 is block content, the HTML parser closed
the 

and reparented the

 out of the span, so Alpine evaluated
x-show="e" with e no longer in scope ("e is not defined"). Use a 
wrapper instead of

so the pre stays within the e scope. Co-Authored-By: Claude Opus 4.8 --- src/clj/auto_ap/ssr/auth.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/ssr/auth.clj b/src/clj/auto_ap/ssr/auth.clj index 288df282..9c4c487c 100644 --- a/src/clj/auto_ap/ssr/auth.clj +++ b/src/clj/auto_ap/ssr/auth.clj @@ -72,7 +72,7 @@ [:div.flex-shrink-0.w-5.h-5.text-red-500 svg/alert] [:div.flex-1.min-w-0 [:p.text-sm.font-medium.text-gray-900 "Something went wrong"] - [:p.text-xs.text-gray-500.mt-0.5 + [:div.text-xs.text-gray-500.mt-0.5 "Our team has been notified. Please try again." [:span {:x-data (hx/json {"e" false})} " "