İsmail YEŞİLYURT <[email protected]> writes:

> Hello,
>
> I am experiencing an issue where the Org-mode HTML exporter fails to
> recognize the `#+TITLE` directive.
> This results in an empty title tag (`<title>&lrm;</title>`) in the HTML
> `<head>`.
>
> Steps to reproduce:
> 1. Start Emacs without configurations: `emacs -Q`
> 2. Create a new file named `test.org` with the exact following content:
>
> #+TITLE: test file
>
> * header
> lorem ipsum dolor sit amet
>
> 3. Export the file to HTML using `C-c C-e h h`.
>
> Expected result:
> The generated HTML should contain `<title>test file</title>` in the header.
>
> Actual result:
> The title tag evaluates to `<title>&lrm;</title>` and the title header is
> entirely missing from the HTML body:
> ...
> I have verified that the directive is on the first line and there are no
> leading spaces, tabs, or hidden BOM characters before the `#+TITLE`
> directive.
>
> I would appreciate any guidance on whether this is a known parsing issue or
> if further debugging steps are required.

Hmm. I am unable to reproduce using Emacs 30.
Could you please send the file as an attachment just in case it matters.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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