solve a strange bug caused by the original markdown parser