Hacker News new | ask | show | jobs
by arp242 633 days ago
stdlib templates are a bit idiosyncratic and probably not the easiest to start with, but they do work and don't have "weird issues" AFAIK. What issues did you encounter?
1 comments

I don't know what issues others have had with it, but for me one notable thing is that html/template strips all comments out. This is by design, but it's not documented anywhere. I've proposed making this configurable, but my proposal has gotten no traction so far.
https://github.com/golang/go/issues/54380

I didn't know about that. I agree it qualifies as a "weird issue".