* contrib/lisp/ox-confluence.el (org-confluence-item): Support ordered
list
When converting a bullet item, examine the type of it and convert
accordingly.
TINYCHANGE
---
contrib/lisp/ox-confluence.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/contrib/lisp/ox-confluence.el b/contrib/lisp/ox-confluence.el
index 5de9e0f..de8b00e 100644
--- a/contrib/lisp/ox-confluence.el
+++ b/contrib/lisp/ox-confluence.el
@@ -81,9 +81,12 @@
(format "_%s_" contents))
(defun org-confluence-item (item contents info)
- (concat (make-string (1+ (org-confluence--li-depth item)) ?\-)
- " "
- (org-trim contents)))
+ (let* ((plain-list (org-export-get-parent item))
+ (type (org-element-property :type plain-list))
+ (bullet (if (eq type `ordered) ?\# ?\-)))
+ (concat (make-string (1+ (org-confluence--li-depth item)) bullet)
+ " "
+ (org-trim contents))))
(defun org-confluence-fixed-width (fixed-width contents info)
(format "\{\{%s\}\}" contents))
--
2.9.3 (Apple Git-75)