fix unusual characters and  target="_blank"