[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] Fix a DocBook/HTML exporter bug for literal examples
From: |
Baoqiu Cui |
Subject: |
[Orgmode] [PATCH] Fix a DocBook/HTML exporter bug for literal examples |
Date: |
Sun, 14 Jun 2009 03:56:32 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
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
Description: Text Data
- [Orgmode] [PATCH] Fix a DocBook/HTML exporter bug for literal examples,
Baoqiu Cui <=