summaryrefslogtreecommitdiff
path: root/tissue
diff options
context:
space:
mode:
authorArun Isaac2023-01-22 22:38:58 +0000
committerArun Isaac2023-01-23 00:28:11 +0000
commitd1df6854fb487ce42150e6c7c393279f1c4f0ab5 (patch)
treeb75d43ee3abab5377f211d386c766861a7092cf2 /tissue
parentbdc092231eaf6dd1cd226d0bd6c6f429e21057e6 (diff)
downloadtissue-d1df6854fb487ce42150e6c7c393279f1c4f0ab5.tar.gz
tissue-d1df6854fb487ce42150e6c7c393279f1c4f0ab5.tar.lz
tissue-d1df6854fb487ce42150e6c7c393279f1c4f0ab5.zip
issues: Allow checkboxes without a space.
* issues/allow-checkboxes-without-a-space.gmi: New file. * tissue/issue.scm (file-details): Add TODO note.
Diffstat (limited to 'tissue')
-rw-r--r--tissue/issue.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tissue/issue.scm b/tissue/issue.scm
index e20b4d0..6000ebd 100644
--- a/tissue/issue.scm
+++ b/tissue/issue.scm
@@ -1,5 +1,5 @@
;;; tissue --- Text based issue tracker
-;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2022, 2023 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2022 Frederick Muriuki Muriithi <fredmanglis@gmail.com>
;;;
;;; This file is part of tissue.
@@ -215,6 +215,7 @@ gemtext file."
;; checkbox has any character other
;; than space in it, the task is
;; completed.
+ ;; TODO: Allow [] and not just [ ] (that is, without a space).
((string-match "^\\* \\[(.)\\]" line)
=> (lambda (m)
(hashtable-update! result 'tasks 1+ 0)