go templates are fussy about empty strings
Ted Unangst tedu@tedunangst.com
Tue, 26 Sep 2023 00:40:16 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
views/honk.html
→
views/honk.html
@@ -51,7 +51,7 @@ <span class="left1em clip">convoy: <a class="convoylink" href="/t?c={{ .Convoy }}">{{ .Convoy }}</a></span>
{{ end }} </header> <p> -<details class="noise" {{ .Open }} > +<details class="noise" {{ with .Open }}{{.}}{{end}}> <summary class="noise">{{ .HTPrecis }}<p></summary> <p>{{ .HTPrecis }} <p class="content">{{ .HTML }}