Add support for ordered list to ox-confluence.el

* contrib/lisp/ox-confluence.el (org-confluence-item): Support
  descriptive list

When converting a descriptive list item, be sure to include the "item"
part, not just the description.

TINYCHANGE
This commit is contained in:
Charles Durst 2016-12-12 18:07:50 -05:00 committed by Nicolas Goaziou
parent a76b000da7
commit 9e5bdb04d7
1 changed files with 5 additions and 1 deletions

View File

@ -83,9 +83,13 @@
(defun org-confluence-item (item contents info)
(let* ((plain-list (org-export-get-parent item))
(type (org-element-property :type plain-list))
(bullet (if (eq type `ordered) ?\# ?\-)))
(bullet (if (eq type 'ordered) ?\# ?\-)))
(concat (make-string (1+ (org-confluence--li-depth item)) bullet)
" "
(if (eq type 'descriptive)
(concat "*"
(org-export-data (org-element-property :tag item) info)
"* - "))
(org-trim contents))))
(defun org-confluence-fixed-width (fixed-width contents info)