remove HTML escaping from (easy)json encoder everywhere.

This commit is contained in:
fiatjaf
2024-11-11 22:55:07 -03:00
parent b62678e606
commit a0bf181547
4 changed files with 14 additions and 12 deletions

View File

@@ -75,7 +75,7 @@ func (v OpenEnvelope) MarshalJSON() ([]byte, error) {
res.WriteString(v.SubscriptionID)
res.WriteString(`",`)
w := jwriter.Writer{}
w := jwriter.Writer{NoEscapeHTML: true}
v.Filter.MarshalEasyJSON(&w)
w.Buffer.DumpTo(res)