ox-deck: parse checkboxes properly

*ox-deck.el
Previously, list items with checkboxes would not build properly. This
trivial and clumsy patch fixes that.
This commit is contained in:
Matt Price 2015-07-07 17:53:03 -04:00 committed by Rasmus
parent be019c4339
commit 22c652599c
1 changed files with 3 additions and 1 deletions

View File

@ -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)