tangled
alpha
login
or
join now
arabica.social
/
arabica
7
fork
atom
Coffee journaling on ATProto (alpha)
alpha.arabica.social
coffee
7
fork
atom
overview
issues
pulls
pipelines
fix: brewer escaping issue
pdewey.com
2 months ago
74b657de
2da5b51e
verified
This commit was signed with the committer's
known signature
.
pdewey.com
SSH Key Fingerprint:
SHA256:ePOVkJstqVLchGK8m9/OGQG+aFNHD5XN3xjvW9wKCA4=
+3
-3
1 changed file
expand all
collapse all
unified
split
templates
partials
manage_content.tmpl
+3
-3
templates/partials/manage_content.tmpl
···
185
185
{{range .Brewers}}
186
186
<tr class="hover:bg-brown-100/60 transition-colors"
187
187
data-rkey="{{.RKey}}"
188
188
-
data-name="{{.Name}}"
189
189
-
data-brewer-type="{{.BrewerType}}"
190
190
-
data-description="{{.Description}}">
188
188
+
data-name="{{escapeJS .Name}}"
189
189
+
data-brewer-type="{{escapeJS .BrewerType}}"
190
190
+
data-description="{{escapeJS .Description}}">
191
191
<td class="px-6 py-4 text-sm font-medium text-brown-900">{{.Name}}</td>
192
192
<td class="px-6 py-4 text-sm text-brown-900">
193
193
{{if .BrewerType}}{{.BrewerType}}{{else}}<span class="text-brown-400">-</span>{{end}}