emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] <ul> HTML export bug?


From: Adam Spiers
Subject: [Orgmode] <ul> HTML export bug?
Date: Mon, 11 Feb 2008 14:30:10 +0000
User-agent: Mutt/1.5.14 (2007-02-12)

Test case with recent git clone:

--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------
#+OPTIONS: H:1 toc:nil

* Heading
** Sub-heading a
** Sub-heading b
   This is some paragraph text.
** Sub-heading c
   This is some paragraph text.
--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------

generates:

--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

[snipped]

<body>
<h1 class="title">test</h1>

<div class="outline-2">
<h2>1 Heading</h2>

<ul>
<li>Sub-heading a<br/>
</li>
</ul>
<ul>
<li>Sub-heading b<br/>
This is some paragraph text.
</li>
</ul>
<ul>
<li>Sub-heading c<br/>
This is some paragraph text.
</li>
</ul>
</div>
<div id="postamble"><p class="author"> Author: Adam Spiers
<a href="mailto:address@hidden";>&lt;address@hidden&gt;</a>
</p>
<p class="date"> Date: 2008/02/11 14:24:27</p>
</div></body>
--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------

Each sub-heading becomes a singleton unordered list, which results in
unwanted spacing in between each.  Also, couldn't the <br/> be
replaced with <p> ?  So ideally I would expect the following
instead:

--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------
<ul>
  <li>Sub-heading a
  </li>
  <li>Sub-heading b
    <p>This is some paragraph text.</p>
  </li>
  <li>Sub-heading c
    <p>This is some paragraph text.</p>
  </li>
</ul>
--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------

Thanks!




reply via email to

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