Remove misplaced quote marks in text string.