emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Mismatched div in html export


From: Matthew Lundin
Subject: [Orgmode] Mismatched div in html export
Date: Fri, 14 Nov 2008 15:13:15 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin)

I believe I've found an unmatched div tag in html export. 

The problem occurs when the headlines of an export are set to 0, as in:

#+OPTIONS: h:0 toc:nil

Here's a sample org source file:

----------org source begins---------
#+TITLE: Test
#+OPTIONS: h:0 toc:nil

* Bullet point
  
Here is some text.

* Another Bullet point
** A sub point

Some more text.
----------org source ends------------

The source above exports as the following html:

----------html output begins-------
... 
</head><body>
<h1 class="title">Test</h1>
                        <!-- note: no beginning div tag here -->
<ul>
<li id="sec-1">Bullet point<br/>

<p>
Here is some text.
</p>
</li>
<li id="sec-2">Another Bullet point<br/>
<ul>
<li id="sec-2.1">A sub point<br/>

<p>
Some more text.
</p></li>
</ul>
</li>
</ul>

</div>                   <!-- here is the unmatched div tag-->
<div id="postamble"> 
...
----------html output ends-------

Thanks,

Matt




reply via email to

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