From 4fd61d8021b36f0316eca0693101bdadcfc4b94c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 6 Feb 2011 17:33:49 +0100 Subject: [PATCH] org-html: unchecked boxes should not appear checked without CSS --- lisp/org-html.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 59bfdc350..9e43a8f31 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -2467,10 +2467,9 @@ the alist of previous items." (setq body (concat (cond - ((string-match "X" checkbox) "[X] ") - ((string-match " " checkbox) - "[X] ") - (t "[-] ")) + ((string-match "X" checkbox) "[X] ") + ((string-match " " checkbox) "[ ] ") + (t "[-] ")) body))) ;; Return modified line body))