add anchors to RTF headers