Self referencing links do not generate appropriate markup.
*Created by: rquadling*
Hi.
Hopefully I'm not misunderstanding what is supported.
With the following markdown,
```
# Section
Link to [section](#section)
```
The HTML generated looks like ...
```
<h1><a href="#section" name="section"></a>Section</h1>
<p>Link to <a href="#">section</a></p>
```
Which I think is incorrect.
I think it should be ...
```
<h1><a href="#section" name="section"></a>Section</h1>
<p>Link to <a href="#section">section</a></p>
```
Currently, I have to use ...
```
#Section
Link to <a href="#section">section</a>
```
issue