make tables data html safe