emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] ox-html export bug


From: kadal
Subject: Re: [O] ox-html export bug
Date: Thu, 7 Sep 2017 11:04:54 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

The problem is that if you have CSS that decorates links by adding content after a link, that (empty) link gets decorated too.

Is it possible to remove it? There is no such empty link for the first heading which does not have CUSTOM_ID set.

Deepak

On 09/07/2017 10:32 AM, Nicolas Goaziou wrote:
Hello,

kadal <address@hidden> writes:

This org file

-------------------------
* heading 1
* heading 2
:PROPERTIES:
:CUSTOM_ID: my-name
:END:

--------------------------------

exports to

-----------------------------------
<div id="outline-container-orgf4e5527" class="outline-2">
<h2 id="orgf4e5527"><span class="section-number-2">1</span> heading 1</h2>
</div>

<div id="outline-container-orge4e91c4" class="outline-2">
<h2 id="my-name"><a id="orge4e91c4"></a><span
class="section-number-2">2</span> heading 2</h2>

<div class="outline-text-2" id="text-my-name">
</div>
-----------------------------------------------

The "<a id="orge4e91c4"></a>" for the second heading is unnecessary.
Seems to only occur when CUSTOM_ID is set.

It is the internal reference for "my-name" custom ID.

Regards,





reply via email to

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