all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]
@ 2010-12-22  4:18 Bernt Hansen
  2010-12-22  6:59 ` Noorul Islam K M
  2010-12-22  8:56 ` Nicolas Goaziou
  0 siblings, 2 replies; 7+ messages in thread
From: Bernt Hansen @ 2010-12-22  4:18 UTC (permalink / raw)
  To: emacs-orgmode

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)

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

* Re: Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]
  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
  2010-12-22  8:56 ` Nicolas Goaziou
  1 sibling, 0 replies; 7+ messages in thread
From: Noorul Islam K M @ 2010-12-22  6:59 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

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

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

* Re: Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]
  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
@ 2010-12-22  8:56 ` Nicolas Goaziou
  2010-12-22  9:13   ` Noorul Islam K M
  1 sibling, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2010-12-22  8:56 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Hello,

>>>>> Bernt Hansen writes:

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

This should be fixed on master now.

Thanks for the report.

Regard,

-- Nicolas

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

* Re: Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]
  2010-12-22  8:56 ` Nicolas Goaziou
@ 2010-12-22  9:13   ` Noorul Islam K M
  2010-12-22 10:00     ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Noorul Islam K M @ 2010-12-22  9:13 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Bernt Hansen, emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
>>>>>> Bernt Hansen writes:
>
>> 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.
>
> This should be fixed on master now.
>
> Thanks for the report.
>

Actually I did not face this issue as I explained earlier, I am not sure
why.

Thanks and Regards
Noorul

> Regard,
>
> -- Nicolas
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]
  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
  0 siblings, 2 replies; 7+ messages in thread
From: Nicolas Goaziou @ 2010-12-22 10:00 UTC (permalink / raw)
  To: Noorul Islam K M; +Cc: Bernt Hansen, emacs-orgmode

Hello,

>>>>> Noorul Islam K M writes:

> Actually I did not face this issue as I explained earlier, I am not
> sure why.

Were you selecting the sub-tree before exporting?

Regards,

-- Nicolas

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

* Re: Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]
  2010-12-22 10:00     ` Nicolas Goaziou
@ 2010-12-22 12:27       ` Bernt Hansen
  2010-12-22 12:44       ` Noorul Islam K M
  1 sibling, 0 replies; 7+ messages in thread
From: Bernt Hansen @ 2010-12-22 12:27 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode, Noorul Islam K M

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
>>>>>> Noorul Islam K M writes:
>
>> Actually I did not face this issue as I explained earlier, I am not
>> sure why.
>
> Were you selecting the sub-tree before exporting?
>
> Regards,

Yes I select the subtree with C-c @ then C-c C-e H.
It seems to work if I export the entire file.

The fix works for me in master.  Thanks!

-Bernt

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

* Re: Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]
  2010-12-22 10:00     ` Nicolas Goaziou
  2010-12-22 12:27       ` Bernt Hansen
@ 2010-12-22 12:44       ` Noorul Islam K M
  1 sibling, 0 replies; 7+ messages in thread
From: Noorul Islam K M @ 2010-12-22 12:44 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Bernt Hansen, emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
>>>>>> Noorul Islam K M writes:
>
>> Actually I did not face this issue as I explained earlier, I am not
>> sure why.
>
> Were you selecting the sub-tree before exporting?
>

No, I was not. Now I can re-produce it.

Thanks and Regards
Noorul

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

end of thread, other threads:[~2010-12-22 12:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.