html: write descriptive list closing dt tag on separate line

now that i'm already looking at it due to the bug leenzhu found why not put the
</dt> on a separate line to match the convention - looks better to me; doesn't
change anything.
This commit is contained in:
Niklas Fasching 2019-08-26 14:36:22 +02:00
parent e6c8cdbd9d
commit a143b04826
2 changed files with 17 additions and 9 deletions

View file

@ -335,7 +335,7 @@ func (w *HTMLWriter) WriteDescriptiveListItem(di DescriptiveListItem) {
} else {
w.WriteString("?")
}
w.WriteString("</dt>\n")
w.WriteString("\n</dt>\n")
w.WriteString("<dd>\n")
WriteNodes(w, di.Details...)
w.WriteString("</dd>\n")