emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] <ul> HTML export bug?


From: Carsten Dominik
Subject: Re: [Orgmode] <ul> HTML export bug?
Date: Tue, 12 Feb 2008 10:27:24 +0100

Fixed, thanks.

- Carsten

On Feb 11, 2008, at 3:30 PM, Adam Spiers wrote:

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!


_______________________________________________
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]