branch: externals/org-modern
commit 370e3ea360cc8c24ae2c0a0b8d3d5edf711ff34a
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    Handle short caption (Fix #303)
---
 org-modern.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-modern.el b/org-modern.el
index 75b93367c5..05dd3e6310 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -787,7 +787,7 @@ whole buffer; otherwise, for the line at point."
                  org-tag-re ":\\)+\\)[ \t]*$")
         (0 (org-modern--tag)))))
    (when org-modern-keyword
-     `(("^[ \t]*\\(#\\+\\)\\([^: \t\n]+\\):"
+     `(("^[ \t]*\\(#\\+\\)\\([^:[ \t\n]+\\)[[:]"
         ,@(pcase org-modern-keyword
             ('t '(1 '(face nil invisible org-modern)))
             ((pred stringp) `(1 '(face nil display ,org-modern-keyword)))

Reply via email to