emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* <ul> HTML export bug?
@ 2008-02-11 14:30 Adam Spiers
  2008-02-12  9:27 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Spiers @ 2008-02-11 14:30 UTC (permalink / raw)
  To: org-mode mailing list

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:adam@spiers.net">&lt;adam@spiers.net&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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-12  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-11 14:30 <ul> HTML export bug? Adam Spiers
2008-02-12  9:27 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).