handle headings that contain links