From 9aec7ca151402b3ecbb89c1647b5d0e332e9b872 Mon Sep 17 00:00:00 2001
From: leen
Date: Mon, 26 Aug 2019 18:38:04 +0800
Subject: [PATCH] WriteDescriptiveListItem() missing closing tags for dt and dd
---
org/html_writer.go | 3 ++-
org/testdata/lists.html | 40 ++++++++++++++++++++++++----------------
2 files changed, 26 insertions(+), 17 deletions(-)
diff --git a/org/html_writer.go b/org/html_writer.go
index 6355fd1..6420ba6 100644
--- a/org/html_writer.go
+++ b/org/html_writer.go
@@ -335,9 +335,10 @@ func (w *HTMLWriter) WriteDescriptiveListItem(di DescriptiveListItem) {
} else {
w.WriteString("?")
}
+ w.WriteString("\n")
w.WriteString("
details continued details
-details without a term
-details on a new line
-details on a new line (with an empty line in between) continued @@ -140,7 +144,7 @@ echo "Hello World!" -
some list termination tests @@ -207,31 +211,35 @@ ordered 2
1
-2
-1
-2
-