emacs-orgmode
[Top][All Lists]
Advanced

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

Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag


From: Tim Visher
Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag
Date: Wed, 13 Jan 2021 10:26:45 -0500

On Tue, Jan 12, 2021 at 10:43 PM Kyle Meyer <kyle@kyleam.com> wrote:
Tim Visher writes:

> On Mon, Jan 11, 2021 at 8:19 PM Kyle Meyer <kyle@kyleam.com> wrote:

>> Thanks for reporting.  Is this addressed by the in-progress series at
>> <87o8hwpz34.fsf@gmail.com/" rel="noreferrer" target="_blank">https://orgmode.org/list/87o8hwpz34.fsf@gmail.com/>?
>>
>
> IIUC yes. I believe the following section of the diff should address it.
[...]
> If I'm reading the code correctly, `org-html-plain-text` is a specialized
> form of converting org data into a plain text string with no markup. If I
> have that correct then I believe you're right.
>
> Is that your read as well?

Yep.  And as a light test:

    #+title: a *b* c

exports

  <title>a *b* c</title>

rather than

  <title>a <b>b</b> c</title>

Nice! I don't know enough about `org-export` but FWIW the use case I have is not to have an explicit `title` property but instead just the default title of the heading contents. I assume that's all handled transparently by the `(plist-get …` section.

Do you have any idea the timeline for getting that patch merged?

reply via email to

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