--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/10547051-0324-4257-a81d-33644d92bca5n%40googlegroups.com.
s.errorf("can't evaluate field %s in type %s", fieldName, typ)
HTML encapsulates a known safe HTML document fragment. It should not be used for HTML from a third-party, or HTML with unclosed tags or comments. The outputs of a sound HTML sanitizer and a template escaped by this package are fine for use with HTML.
2024/12/30 23:28:23 template: webpage:2:21: executing "webpage" at <.nonExistingData>: can't evaluate field nonExistingData in type struct { Title string; Items []string }
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/10547051-0324-4257-a81d-33644d92bca5n%40googlegroups.com.
<!-- <input value='{{.nonExistingData}}'> -->
{{ "<!-- <input value='{{.nonExistingData}}'> -->" }}
To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD868-WC4tX%3DYc%3D82i5zUpahSX6fzZ%2B7bMSYJTf8J23gNw%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/8eee59b6-538b-4373-8914-6df93355a1e3n%40googlegroups.com.
If it stripped HTML comments then it would not be possible to generate output that contains wanted comments.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/ae657a69-8ff7-42aa-8c26-b52a0de9b32cn%40googlegroups.com.