ソースを参照

org-html: use non breaking space for empty checkboxes

Nicolas Goaziou 14 年 前
コミット
de3d3652bb
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lisp/org-html.el

+ 1 - 1
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