attachment_links is set to true
attachment_links
true
resulting html has links but links don't have content, i.e. there's nothing between <a> and </a> (ignore the data-hydrus attribute, it's caused by an addon):
<a>
</a>
data-hydrus