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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to