ox-confluence.el: Fix error in `org-confluence-fixed-width`

* contrib/lisp/ox-confluence.el (org-confluence-fixed-width): retrieve
  value of org element "fixed-width" instead of using "content", which
  is empty.
This commit is contained in:
Lungang Fang 2016-12-13 15:14:08 +11:00 committed by Nicolas Goaziou
parent 9e5bdb04d7
commit dadad5fa39
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,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)))