From 2b93cec8c24432033f05fd87055818a3d13d3ad5 Mon Sep 17 00:00:00 2001 From: Lungang Fang Date: Wed, 14 Dec 2016 21:19:18 +1100 Subject: [PATCH] ox-confluence.el: Export fixed-width as example-block * contrib/lisp/ox-confluence.el (org-confluence-fixed-width): export fixed-width as example-block so that the outcome is more consistent with org-mode format. Other back-ends (say ox-md.el) also work this way. TINYCHANGE --- contrib/lisp/ox-confluence.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/ox-confluence.el b/contrib/lisp/ox-confluence.el index 95a674eb5..65b63d8a6 100644 --- a/contrib/lisp/ox-confluence.el +++ b/contrib/lisp/ox-confluence.el @@ -94,8 +94,10 @@ (org-trim contents)))) (defun org-confluence-fixed-width (fixed-width contents info) - (format "\{\{%s\}\}" - (org-trim (org-element-property :value fixed-width)))) + (org-confluence--block + "none" + "Confluence" + (org-trim (org-element-property :value fixed-width)))) (defun org-confluence-verbatim (verbatim contents info) (format "\{\{%s\}\}" (org-element-property :value verbatim)))