summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Price <matt.price@utoronto.ca>2015-07-07 17:53:03 -0400
committerRasmus <rasmus@gmx.us>2015-07-08 12:38:16 +0200
commit22c652599c8bfedcd27e78d7ad9544826eae7dd0 (patch)
tree46e6d35de7fa8d9d73c5564d8ef7a3607f1b661b
parentbe019c433951c83a32a003439fadc2b0e603246b (diff)
downloadorg-mode-22c652599c8bfedcd27e78d7ad9544826eae7dd0.tar.gz
ox-deck: parse checkboxes properly
*ox-deck.el Previously, list items with checkboxes would not build properly. This trivial and clumsy patch fixes that.
-rw-r--r--contrib/lisp/ox-deck.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/lisp/ox-deck.el b/contrib/lisp/ox-deck.el
index 915373f..427c7d7 100644
--- a/contrib/lisp/ox-deck.el
+++ b/contrib/lisp/ox-deck.el
@@ -382,7 +382,9 @@ the \"slide\" class will be added to the to the list element,
which will make the list into a \"build\"."
(let ((text (org-html-item item contents info)))
(if (org-export-get-node-property :STEP item t)
- (replace-regexp-in-string "^<li>" "<li class='slide'>" text)
+ (progn
+ (replace-regexp-in-string "^<li>" "<li class='slide'>" text)
+ (replace-regexp-in-string "^<li class='checkbox'>" "<li class='checkbox slide'>" text))
text)))
(defun org-deck-link (link desc info)