Add horizontal line using '---'

This commit is contained in:
2021-10-04 09:03:42 -07:00
parent 1ff241a74e
commit 567a1391b5
2 changed files with 26 additions and 9 deletions

View File

@@ -256,6 +256,9 @@ func (h *HTMLFormatter) Format() string {
} else if entry.Break != nil {
// Write break tag to output
h.out.WriteString("<br>")
} else if entry.Hline != nil {
// Write horizonhal line tag to output
h.out.WriteString("<hr>")
}
}