* contrib/lisp/ox-confluence.el (org-confluence-fixed-width): retrieve
  value of org element "fixed-width" instead of using "content", which
  is empty.
---
 contrib/lisp/ox-confluence.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/lisp/ox-confluence.el b/contrib/lisp/ox-confluence.el
index de8b00e..98d9ed5 100644
--- a/contrib/lisp/ox-confluence.el
+++ b/contrib/lisp/ox-confluence.el
@@ -89,7 +89,8 @@
             (org-trim contents))))

 (defun org-confluence-fixed-width (fixed-width contents info)
-  (format "\{\{%s\}\}" contents))
+  (format "\{\{%s\}\}"
+         (org-trim (org-element-property :value fixed-width))))

 (defun org-confluence-verbatim (verbatim contents info)
   (format "\{\{%s\}\}" (org-element-property :value verbatim)))
--
2.9.3 (Apple Git-75)

Reply via email to