add safe detect html