Fix anchors links by using headerId instead of headerText

anchors links were broken in case of special characters in titles