[Top][All Lists]

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

Re: [O] ox-html export bug

From: Fabrice Popineau
Subject: Re: [O] ox-html export bug
Date: Fri, 8 Sep 2017 20:52:10 +0200

2017-09-08 19:40 GMT+02:00 kadal <address@hidden>:
On 09/08/2017 10:32 AM, Nicolas Goaziou wrote:
kadal <address@hidden> writes:

Seems like the second one should export to either "<h2 id="my-name">"
or "<h2 id="my-name" id="orge4e91c4">".

Is it valid HTML?


This SO thread has confusing answers: https://stackoverflow.com/questions/192048/can-an-html-element-have-multiple-ids#192066

Looks like the second option will work.

Not valid according to :


"There must never be two or more attributes on the same start tag whose names are an ASCII case-insensitive match for each other."
That said, the first option is better because if I'm setting a CUSTOM_ID, that's what should be used for internal links...

I agree with that. Ideally, if you set a CUSTOM_ID, then it should replace the default org generated id.



reply via email to

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