aboutsummaryrefslogtreecommitdiff
path: root/lib/headlines.ml
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-24 18:35:29 -0500
committerMarc Coquand <marc@mccd.space>2024-05-24 18:35:29 -0500
commitade6e1bf69887a6e47c8bde8d736ee6316008ab9 (patch)
treee62c942f1abfc67273e84800da80b9fedea70762 /lib/headlines.ml
parent527e025e88fc01c7ed4fc3f951484b051c264d83 (diff)
downloadstitch-narrowing.tar.gz
stitch-narrowing.tar.bz2
stitch-narrowing.zip
Diffstat (limited to 'lib/headlines.ml')
-rw-r--r--lib/headlines.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/headlines.ml b/lib/headlines.ml
index cefe31d..7b12b9e 100644
--- a/lib/headlines.ml
+++ b/lib/headlines.ml
@@ -150,7 +150,7 @@ let rec render
; content = full_content |> Array.of_list
; content_pretty = full_content_pretty
; scroll = 0
- ; tag
+ ; tag = (if tag = "" then [] else [ tag ])
; output = None
; go_back = (fun () -> render t state)
; goto_todos_view