In creating a Rmd file I included an internal hyperlink:
[hlink](#id1)
and then further on an anchor
<a id="id1"></a> .
When I then use Knit HTML (in RStudio) everything works fine and the internal hyperlink works fine but I also get an unwanted �
<p><a id="id1"></a>�</p>
How can I avoid getting this error?