From dadad5fa39f2ce8e2fd8a189c8e6ea2bfaf371df Mon Sep 17 00:00:00 2001 From: Lungang Fang Date: Tue, 13 Dec 2016 15:14:08 +1100 Subject: [PATCH] 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. --- 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 3ce40914e..87ad2d01c 100644 --- a/contrib/lisp/ox-confluence.el +++ b/contrib/lisp/ox-confluence.el @@ -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)))