var searchIndex = {}; searchIndex["ammonia"] = {"doc":"Ammonia is a whitelist-based HTML sanitization library. It is designed to\ntake untrusted user input with some HTML.","items":[[3,"Ammonia","ammonia","Settings for HTML cleaning.",null,null],[12,"tags","","Tags that are allowed. Note that this only whitelists the tag; it will\nstill be stripped if it has unlisted attributes.",0,null],[12,"tag_attributes","","Attributes that are allowed on certain tags. If the tag is not itself\nwhitelisted, adding entries to this map do nothing. It is structured\nas a map from tag name to set of attribute name.",0,null],[12,"generic_attributes","","Attributes that are allowed on any tag.",0,null],[12,"url_schemes","","Permitted URL schemes on href and src attributes.",0,null],[12,"url_relative","","Permit relative URLs on href and src attributes.",0,null],[12,"strip","","True: do not include stripped tags. False: escape stripped tags.",0,null],[12,"strip_comments","","True: strip HTML comments. False: leave HTML comments in.",0,null],[5,"clean","","Clean HTML with a conservative set of defaults.",null,{"inputs":[{"name":"str"}],"output":{"name":"string"}}],[11,"default","","",0,{"inputs":[],"output":{"name":"self"}}],[11,"clean","","Given a fragment of HTML, Ammonia will parse it according to the HTML5\nparsing algorithm and sanitize any disallowed tags or attributes. This\nalgorithm also takes care of things like unclosed and (some) misnested\ntags.",0,null]],"paths":[[3,"Ammonia"]]}; initSearch(searchIndex);