Home

ugit @main - refs - log -
-
https://git.jolheiser.com/ugit.git
The code powering this h*ckin' site
tree log patch
use raw for script
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQM7uyeLX11ish1nGSsdLwJRBbrGr4+ZbTLLNscEDfS14OQvigSWYN9y9dynLRg8deS xaLhwM4EAhO0tLxR0lWQk= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
1 month ago
2 changed files, 2 additions(+), 2 deletions(-)
M internal/html/repo_file.gointernal/html/repo_file.go
diff --git a/internal/html/repo_file.go b/internal/html/repo_file.go
index 50030a6b11fbd821cf9498085386bebc046d22f6..6dd3cb13080a68e45577f5b11ef5ae2f27836dd4 100644
--- a/internal/html/repo_file.go
+++ b/internal/html/repo_file.go
@@ -29,6 +29,6 @@ 				Raw(rfc.Code),
 				Button(ID("copy"), Class("absolute top-0 right-0 rounded bg-base hover:bg-surface0")),
 			),
 		),
-		Script(Text(repoFileJS)),
+		Script(Raw(repoFileJS)),
 	}...)
 }
M internal/html/repo_search.gointernal/html/repo_search.go
diff --git a/internal/html/repo_search.go b/internal/html/repo_search.go
index 54b912f45b94b7856c0ed92a6679a22ee19e0423..87c8e5f9ac9fa106ba15e59e89699968ae82cca3 100644
--- a/internal/html/repo_search.go
+++ b/internal/html/repo_search.go
@@ -73,6 +73,6 @@ 		}),
 		If(len(dedupeResults) == 0,
 			P(Class("text-text mt-5 text-lg"), Text("No results")),
 		),
-		Script(Text(repoSearchJS)),
+		Script(Raw(repoSearchJS)),
 	}...)
 }