Well, yes, I asked in the first place.
The code in html/template examines the parse tree to decide the
escaping. It will need to know about the new node. Unfortunately, the
code in html/template is an utter mystery to me, so I am not the
person to explain what needs to change while preserving the security
perimeter.
Perhaps someone else can help.
-rob
> --
> You received this message because you are subscribed to the Google Groups "golang-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
golang-dev+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-dev/20220921070542.54hvmrcmvzdvbuy4%40p14s.localdomain.