summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLungang Fang <lungang.fang@gmail.com>2016-12-14 21:19:18 +1100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-12-14 13:22:44 +0100
commit2b93cec8c24432033f05fd87055818a3d13d3ad5 (patch)
treee9928418b28f4c01a18a0acb240a2639e39218a6
parentd29b9ee064a172dce40fbadb8141b2887e1a5ccc (diff)
downloadorg-mode-2b93cec8c24432033f05fd87055818a3d13d3ad5.tar.gz
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
-rw-r--r--contrib/lisp/ox-confluence.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/lisp/ox-confluence.el b/contrib/lisp/ox-confluence.el
index 95a674e..65b63d8 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)))