emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] ox-confluence.el: Do not generate filled paragraphs
@ 2016-03-03 21:51 M. P. Ashton
  0 siblings, 0 replies; only message in thread
From: M. P. Ashton @ 2016-03-03 21:51 UTC (permalink / raw)
  To: emacs-orgmode

* contrib/lisp/ox-confluence.el: Do not generate filled paragraphs

ox-confluence was generating filled paragraphs.  Since Confluence treats
each newline as a line break, this caused unexpected formatting.  Added
a paragraph function to generate unfilled paragraphs (taken from
ox-md.el).
---
 contrib/lisp/ox-confluence.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/contrib/lisp/ox-confluence.el
b/contrib/lisp/ox-confluence.el
index 9b96d5f..4304e5d 100644
--- a/contrib/lisp/ox-confluence.el
+++ b/contrib/lisp/ox-confluence.el
@@ -47,6 +47,7 @@
                     (italic . org-confluence-italic)
                      (item . org-confluence-item)
                     (link . org-confluence-link)
+                     (paragraph . org-confluence-paragraph)
                     (property-drawer . org-confluence-property-drawer)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-03 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03 21:51 [PATCH] ox-confluence.el: Do not generate filled paragraphs M. P. Ashton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).