diff --git a/org/html_writer.go b/org/html_writer.go
index e763aa7..4738151 100644
--- a/org/html_writer.go
+++ b/org/html_writer.go
@@ -293,17 +293,17 @@ func (w *HTMLWriter) WriteHeadline(h Headline) {
w.WriteString(fmt.Sprintf(`
`, h.ID(), level) + "\n")
w.WriteString(fmt.Sprintf(``, level, h.ID()) + "\n")
if w.document.GetOption("todo") != "nil" && h.Status != "" {
- w.WriteString(fmt.Sprintf(`%s`, h.Status) + "\n")
+ w.WriteString(fmt.Sprintf(`%s`, h.Status, h.Status) + "\n")
}
if w.document.GetOption("pri") != "nil" && h.Priority != "" {
- w.WriteString(fmt.Sprintf(`[%s]`, h.Priority) + "\n")
+ w.WriteString(fmt.Sprintf(`[%s]`, h.Priority, h.Priority) + "\n")
}
WriteNodes(w, h.Title...)
if w.document.GetOption("tags") != "nil" && len(h.Tags) != 0 {
tags := make([]string, len(h.Tags))
for i, tag := range h.Tags {
- tags[i] = fmt.Sprintf(`%s`, tag)
+ tags[i] = fmt.Sprintf(`%s`, tag, tag)
}
w.WriteString(" ")
w.WriteString(fmt.Sprintf(`%s`, strings.Join(tags, " ")))