Link headings to themselves
Fixes #1259