emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: emacs-orgmode@gnu.org
Subject: Mismatched div in html export
Date: Fri, 14 Nov 2008 15:13:15 -0600	[thread overview]
Message-ID: <m2od0im2ok.fsf@fastmail.fm> (raw)


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	other threads:[~2008-11-14 21:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14 21:13 Matthew Lundin [this message]
2008-11-15 14:40 ` Mismatched div in html export Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2od0im2ok.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).