emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Stray divs in HTML export [9.6.15 (release_9.6.15 @ /home/jm/.


From: Ihor Radchenko
Subject: Re: [BUG] Stray divs in HTML export [9.6.15 (release_9.6.15 @ /home/jm/.local/share/emacs/30.0.50/lisp/org/)]
Date: Fri, 22 Mar 2024 12:49:33 +0000

john muhl <jm@pub.pink> writes:

> The closing <div>s inside HTML comment blocks appear outside the
> comment which makes the exported HTML invalid. For example:
>
>   #+title: Stray div demo
>
>   Hello.
>
>   #+html: <!--
>
>   * Heading
>   ** Subheading
>
>   #+html: -->
>
>   Goodbye.

Your example is using direct HTML formatting.
It is user responsibility that direct HTML is valid and plays well with
the rest of the document.

Org provides the power to insert arbitrary HTML into the output, but
this power comes with responsibility to ensure correctness.

Not a bug.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]