Internal links to single title does not work
For example:
#!rst
.. _outer_target:
.. _inner_target:
Title 1
=======
The targets outer_target_ and inner_target_ point both to Title 1
This snippet is supposed to result in:
#!html
<a id="inner-target"></a>
<a id="outer-target"></a>
<section id="title-1">
<h1>Title 1</h1>
<p>The targets <a href="#outer-target">outer_target</a> and <a href="#inner-target">inner_target</a> point both to Title 1.</p>
</section>
Instead, the output is:
#!html
<h1>titulo</h1>
<p>texto</p>
<p><a href="#mylink">mylink</a></p>