Re: [O] CUSTOM_ID doesn't work for HTML export on Org trunk

2015-06-10 Thread Nicolas Goaziou
Oleh Krehel ohwoeo...@gmail.com writes:

 It's not: I'm getting this in my Firefox address bar if I click the link:

 testorg.html#orgheadline1

What link? There is no link in your example.

The code generated for headlines is correct. However, links indeed
target internal reference instead of custom ID. I changed to behaviour
so they prefer custom ID (b856f66892b8fbf827e4b4a3e89e739a9caca051).

Thanks.

Regards,



Re: [O] CUSTOM_ID doesn't work for HTML export on Org trunk

2015-06-10 Thread Oleh Krehel
Hi Nicolas,

Thanks for helping.

Nicolas Goaziou m...@nicolasgoaziou.fr writes:

 The following buffer

 * Headline
   :PROPERTIES:
   :CUSTOM_ID: my-id
   :END:


 exports as

 div id=outline-container-orgheadline1 class=outline-2
   h2 id=my-ida id=orgheadline1/aspan 
 class=section-number-21/span Headline/h2
   div class=outline-text-2 id=text-my-id
   /div
 /div

I'm getting the same behavior.

 It looks correct.

It's not: I'm getting this in my Firefox address bar if I click the link:

testorg.html#orgheadline1

Here's the two months old export behavior:

div id=outline-container-my-id class=outline-2
h2 id=my-ida id=sec-1/aspan class=section-number-21/span 
Headline/h2
div class=outline-text-2 id=text-my-id
/div

And the corresponding Firefox bar:

testorg.html#my-id

regards,
Oleh



Re: [O] CUSTOM_ID doesn't work for HTML export on Org trunk

2015-06-10 Thread Oleh Krehel
Nicolas Goaziou m...@nicolasgoaziou.fr writes:

 Oleh Krehel ohwoeo...@gmail.com writes:

 It's not: I'm getting this in my Firefox address bar if I click the link:

 testorg.html#orgheadline1

 What link? There is no link in your example.

The link to the headline in the table of contents.

 The code generated for headlines is correct. However, links indeed
 target internal reference instead of custom ID. I changed to behaviour
 so they prefer custom ID (b856f66892b8fbf827e4b4a3e89e739a9caca051).

This solves the problem for me, thanks.

Oleh



[O] CUSTOM_ID doesn't work for HTML export on Org trunk

2015-06-09 Thread Oleh Krehel

Hi all,

I don't know if this has been raised before, but it seems not to be
fixed yet.  Currently, in HTML export, instead of #custom_id I'm getting
e.g. #orgheadline10.

The commit that broke this was 2 months ago:
160820bc9498e9364103e72b55a27cf92576dbb8 still works fine.

Let me know if this is bug that needs to be fixed, or maybe CUSTOM_ID
was replaced with something.

regards,
Oleh



Re: [O] CUSTOM_ID doesn't work for HTML export on Org trunk

2015-06-09 Thread Nicolas Goaziou
Hello,

Oleh Krehel ohwoeo...@gmail.com writes:

 I don't know if this has been raised before, but it seems not to be
 fixed yet.  Currently, in HTML export, instead of #custom_id I'm getting
 e.g. #orgheadline10.

The following buffer

--8---cut here---start-8---
* Headline
  :PROPERTIES:
  :CUSTOM_ID: my-id
  :END:
--8---cut here---end---8---

exports as

--8---cut here---start-8---
div id=outline-container-orgheadline1 class=outline-2
  h2 id=my-ida id=orgheadline1/aspan 
class=section-number-21/span Headline/h2
  div class=outline-text-2 id=text-my-id
  /div
/div
--8---cut here---end---8---

It looks correct.

Regards,

-- 
Nicolas Goaziou