~adnano/gmnitohtml

85ce6d8207a9112a2baeb1940673333a92660a5b — Adnan Maolood 2 years ago 332368e 0.1.1
Use self-closing <br> tags

Use self-closing tags so that the HTML output is also valid XML.
1 files changed, 1 insertions(+), 1 deletions(-)

M main.go
M main.go => main.go +1 -1
@@ 117,7 117,7 @@ func (h *HTMLWriter) Handle(line gemini.Line) {
		if line == "" {
			blank = true
			if h.br {
				fmt.Fprint(h.out, "<br>\n")
				fmt.Fprint(h.out, "<br/>\n")
			} else {
				h.br = true
			}