john muhl <j...@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