rescan '>' and '/' if necessary