From d1df6854fb487ce42150e6c7c393279f1c4f0ab5 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 22 Jan 2023 22:38:58 +0000 Subject: issues: Allow checkboxes without a space. * issues/allow-checkboxes-without-a-space.gmi: New file. * tissue/issue.scm (file-details): Add TODO note. --- tissue/issue.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tissue') 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 +;;; Copyright © 2022, 2023 Arun Isaac ;;; Copyright © 2022 Frederick Muriuki Muriithi ;;; ;;; 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) -- cgit v1.2.3