emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH] Fix a DocBook/HTML exporter bug for literal exampl


From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH] Fix a DocBook/HTML exporter bug for literal examples
Date: Sun, 14 Jun 2009 18:05:51 +0200

Ahh, the beauty of a patch bug report with the patch attached...

Applied, thanks.

- Carsten
On Jun 14, 2009, at 12:56 PM, Baoqiu Cui wrote:

Carsten,

Recent changes to respect example indentations introduced a bug in both
DocBook and HTML exporters.  The following example

------------------------------------------------------------------------
#+BEGIN_EXAMPLE
Group of lines separated by empty lines:

 Line One.

 Line Two.
 Line Three.

 Line Four.
 Line Five.
#+END_EXAMPLE
------------------------------------------------------------------------

is exported to HTML like the following (note that every empty line in
the above example is repeated 3 times):

------------------------------------------------------------------------
<pre class="example">
Lines...



 Line One.



 Line Two.
 Line Three.



 Line Four.
 Line Five.
</pre>
------------------------------------------------------------------------

and to DocBook format like this (empty lines are removed):

------------------------------------------------------------------------
<programlisting><![CDATA[Group of lines separated by empty lines:
Line One.
Line Two.
 Line Three.
Line Four.
 Line Five.
]]>
</programlisting>
------------------------------------------------------------------------

Attached please find a patch to fix this problem.

Thanks,
Baoqiu

<example-indent.diff>_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]