You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did the content contain quotation marks? If so, you need to escape them by using the escapes functions such as {{ .Content | html }} or {{ .Content | js }} or {{ .Content | urlquery }} (see: https://pkg.go.dev/text/template#hdr-Functions)
A better option in this case would be to filter .Content with {{.Content | printf "%q"}} as this will produce a quoted string with all encapsulated quotes properly escaped.
The text was updated successfully, but these errors were encountered: