fixed replace html in idea and media