emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noorul Islam K M <noorul@noorul.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]
Date: Wed, 22 Dec 2010 12:29:47 +0530	[thread overview]
Message-ID: <87oc8ee1i4.fsf@noorul.maa.corp.collab.net> (raw)
In-Reply-To: <87aajy30fk.fsf@norang.ca> (Bernt Hansen's message of "Tue, 21 Dec 2010 23:18:23 -0500")

Bernt Hansen <bernt@norang.ca> writes:

> 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>
> | ...
> `----
>

But I get the following.

<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 - last
</li>
</ul>

</div>
</div>

I have

Org-mode version 7.4 (release_7.4.45.g61470f6)
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-11-26 on noorul

Thanks and Regards
Noorul

  reply	other threads:[~2010-12-22  7:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-22  4:18 Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)] Bernt Hansen
2010-12-22  6:59 ` Noorul Islam K M [this message]
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=87oc8ee1i4.fsf@noorul.maa.corp.collab.net \
    --to=noorul@noorul.com \
    --cc=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).