add html safe feature