emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Subject: Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]
Date: Tue, 21 Dec 2010 23:18:23 -0500	[thread overview]
Message-ID: <87aajy30fk.fsf@norang.ca> (raw)

Hi,

If you export the following org file to HTML the list is not terminated
properly.  There is a ORG-LIST-END tag in the source instead of the
</li> </ul> tags which results in invalid HTML.

,----[ test.org ]
| * List ending on export
| 
| - Item 2 - last
`----

Here is part of the HTML from the resulting export.  I first noticed
this when selecting a subtree for export to HTML where the subtree ends
in a list.

,----[ Resulting HTML for C-c C-e H ]
| ...
| <div id="outline-container-1" class="outline-2">
| <h2 id="sec-1"><span class="section-number-2">1</span> List ending on export </h2>
| <div class="outline-text-2" id="text-1">
| 
| 
| <ul>
| <li>
| Item 2 - lastORG-LIST-END
| </div>
| </div>
| ...
`----

Regards,
Bernt

Emacs  : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-11-03 on potassium, modified by Debian
Package: Org-mode version 7.4 (release_7.4.80.g0e5e5)

             reply	other threads:[~2010-12-22  4:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-22  4:18 Bernt Hansen [this message]
2010-12-22  6:59 ` Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)] Noorul Islam K M
2010-12-22  8:56 ` Nicolas Goaziou
2010-12-22  9:13   ` Noorul Islam K M
2010-12-22 10:00     ` Nicolas Goaziou
2010-12-22 12:27       ` Bernt Hansen
2010-12-22 12:44       ` Noorul Islam K M

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=87aajy30fk.fsf@norang.ca \
    --to=bernt@norang.ca \
    --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).