Browse Source

org-html: unchecked boxes should not appear checked without CSS

Nicolas Goaziou 14 years ago
parent
commit
4fd61d8021
1 changed files with 3 additions and 4 deletions
  1. 3 4
      lisp/org-html.el

+ 3 - 4
lisp/org-html.el

@@ -2467,10 +2467,9 @@ the alist of previous items."
 	  (setq body
 		(concat
 		 (cond
-		  ((string-match "X" checkbox) "<b>[X]</b> ")
-		  ((string-match " " checkbox)
-		   "<b>[<span style=\"visibility:hidden;\">X</span>]</b> ")
-		  (t "[-] "))
+		  ((string-match "X" checkbox) "<code>[X]</code> ")
+		  ((string-match " " checkbox) "<code>[ ]</code> ")
+		  (t "<code>[-]</code> "))
 		 body)))
 	;; Return modified line
 	body))