fixing special chars in tags