emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Mismatched div in html export
@ 2008-11-14 21:13 Matthew Lundin
  2008-11-15 14:40 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Lundin @ 2008-11-14 21:13 UTC (permalink / raw)
  To: emacs-orgmode


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

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

end of thread, other threads:[~2008-11-15 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-14 21:13 Mismatched div in html export Matthew Lundin
2008-11-15 14:40 ` 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).