summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2011-02-09 22:58:07 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2011-02-18 13:43:48 +0100
commitde3d3652bb4ebea4d794db9ae9394af7c28fd9db (patch)
tree2f2d9845c43906b9dd68887964c922f7d1053e6a
parent1ac0ac16ac73a9852d8e4e0ee92daee5283db4f7 (diff)
downloadorg-mode-de3d3652bb4ebea4d794db9ae9394af7c28fd9db.tar.gz
org-html: use non breaking space for empty checkboxes
-rw-r--r--lisp/org-html.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-html.el b/lisp/org-html.el
index 5a76f25..ceba3bc 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -2467,7 +2467,7 @@ the alist of previous items."
(concat
(cond
((string-match "X" checkbox) "<code>[X]</code> ")
- ((string-match " " checkbox) "<code>[ ]</code> ")
+ ((string-match " " checkbox) "<code>[&nbsp;]</code> ")
(t "<code>[-]</code> "))
body)))
;; Return modified line