emacs-orgmode
[Top][All Lists]
Advanced

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

[O] ox-html export bug with CUSTOM_ID


From: Deepak Cherian
Subject: [O] ox-html export bug with CUSTOM_ID
Date: Wed, 6 Sep 2017 17:27:04 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

This org file (OPTIONS are to keep the exported file clean)

-------------------------
* 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.

Deepak



reply via email to

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