strip spaces in title anchors