1
0
html/notes.txt

11 lines
438 B
Plaintext
Raw Normal View History

2025-09-11 20:50:00 +02:00
rendering types:
like <br>: inline void
inline <hr>: block void
like script: no escaping
split the validation from the rendering
2025-09-12 01:58:50 +02:00
take copies of the children to ensure immutability
explain the immutability guarantee in the Go docs: for children yes, for children references no. The general
recommendation is not to mutate children. Ofc, creatively breaking the rules is always well appreciated by the
right audience
test wrapped templates