[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"api-page:html-sanitizer-xss-safe-content-cleaner":3},{"status":4,"api":5,"seo":92},"success",{"blocked":6,"description":7,"about":8,"stats":9,"name":11,"title":12,"slug":13,"logo":14,"created_at":15,"agent":16,"user":27,"endpoint_groups":30,"faqs":31,"features":38,"periodic_plans":39,"payasyougo_plans":88,"releases":89,"last_updated":90,"createdAtText":91},false,"Strip scripts, event handlers and javascript: URLs from untrusted HTML while keeping safe formatting — a drop-in XSS guard for user-generated content.","Rendering user-submitted HTML without sanitization is how XSS happens. Send any HTML string and get back a cleaned version:\n\n- **Removes**: script tags, event handlers (onclick=…), javascript: URLs, iframes and other injection vectors\n- **Keeps**: legitimate formatting — paragraphs, bold/italic, links (with rel=\"noopener noreferrer\" added), lists, headings\n- **Reports**: the removedTags list, whether anything changed, and before/after lengths — audit-log friendly\n\n**Use cases:** comment sections, CMS/rich-text pipelines, email HTML ingestion, anywhere user HTML touches your DOM.",{"score":10},null,"HTML Sanitizer XSS-Safe Content Cleaner","HTML Sanitizer XSS-Safe Content Cleaner API","html-sanitizer-xss-safe-content-cleaner","https://cdn.jojapi.com/api/efabb2d0-f1fa-4476-9857-6da414c21f09","2026-10-21 10:08:17",{"enabled":17,"closed":10,"request_enabled":6,"catalog_url":18,"discovery_url":19,"directory_url":20,"rails":21,"networks":24,"docs":26},true,"https://edonf.jojapi.net/_jojapi/agent/plans","https://edonf.jojapi.net/.well-known/x402","https://agents.jojapi.net/apis/html-sanitizer-xss-safe-content-cleaner",[22,23],"x402","mpp",[25],"eip155:8453","https://docs.jojapi.com/consumers/agents",{"nick":28,"name":29,"verified":6,"website":10},"forcom-api","Forcom APIs",[],[32,35],{"question":33,"answer":34},"What does the HTML Sanitizer API do?","The API cleans HTML content to help reduce cross-site scripting (XSS) risks. It is useful for processing user-submitted content before displaying it in webpages.",{"question":36,"answer":37},"How is HTML sanitization different from removing all HTML tags?","Removing all tags converts HTML into plain text. Sanitization can preserve permitted formatting while removing unsafe elements and attributes, depending on the sanitization rules applied.",[],[40,58,68,78],{"type":41,"slug":42,"blocked":6,"period":43,"currency":44,"pricing":45,"rate_limit":49,"objects":50,"name":56,"display_name":56,"features":57},"periodic","sen28s9eakac9w73custdca7","1 MONTH","usd",{"price":46,"credits":46,"past_due_timeout_num":47,"past_due_timeout_type":48},0,3,"DAY",{"max_requests":10,"time_window":10},[51],{"id":52,"name":53,"slug":54,"quota":55,"tiers":10},"n07da4e66","Requests","requests",100,"BASIC",[],{"type":41,"slug":59,"blocked":6,"period":43,"currency":44,"pricing":60,"rate_limit":62,"objects":63,"name":66,"display_name":66,"features":67},"7klof5pimik2bsqog4qbfeog",{"price":61,"credits":46,"past_due_timeout_num":47,"past_due_timeout_type":48},4.99,{"max_requests":10,"time_window":10},[64],{"id":52,"name":53,"slug":54,"quota":65,"tiers":10},5000,"PRO",[],{"type":41,"slug":69,"blocked":6,"period":43,"currency":44,"pricing":70,"rate_limit":72,"objects":73,"name":76,"display_name":76,"features":77},"kkr5ap5ah2kkb08l5zc9r4jy",{"price":71,"credits":46,"past_due_timeout_num":47,"past_due_timeout_type":48},9.99,{"max_requests":10,"time_window":10},[74],{"id":52,"name":53,"slug":54,"quota":75,"tiers":10},50000,"ULTRA",[],{"type":41,"slug":79,"blocked":6,"period":43,"currency":44,"pricing":80,"rate_limit":82,"objects":83,"name":86,"display_name":86,"features":87},"aiclu5jf4g19b769z5xtarvq",{"price":81,"credits":46,"past_due_timeout_num":47,"past_due_timeout_type":48},19.99,{"max_requests":10,"time_window":10},[84],{"id":52,"name":53,"slug":54,"quota":85,"tiers":10},200000,"MEGA",[],[],[],"2026-10-21 10:08:55","2026-10-21",{"canonical":93,"page_title":94,"meta":95},"https://jojapi.com/hub/api/html-sanitizer-xss-safe-content-cleaner","HTML Sanitizer XSS-Safe Content Cleaner API Documentation & Playground - JoJ API",{"description":7,"keywords":96},"API,API Documentation,API Playground,Plans & Pricing,HTML Sanitizer XSS-Safe Content Cleaner,forcom-api"]