Dear group,

please consider this HTML test file

<h1 id="one_word">One_Word</h1>
<h1 id="two words">two words</h1>

and this output:

d:\Dev\Cafu\docs>pandoc test.html -t markdown
One\_Word
=========

two words
{#two words}
=========

d
:\Dev\Cafu\docs>pandoc test.html -t rst
One_Word
========

.. _two words:

two words
=========

The problem is that in RST,

:ref:`One_Word <one_word>`

is an undefined reference.

Why does Pandoc omit the {#one_word} identifier especially as upper/lower case differs?
Can we have it unconditionally generate an identifier if one is explicitly given?

Best regards,
Carsten

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a01eae24-5766-48eb-9ed6-07874023dbce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.