Sha256: bdde94d2b0df98712de722704b559522944641140699a78a8e5efcf549e9c5bd
Contents?: true
Size: 1 KB
Versions: 71
Compression:
Stored size: 1 KB
Contents
{ "schema_type": "object", "schema_version": "1.1", "name": "sanitize_html", "path": "packages/ree_text/package/ree_text/functions/sanitize_html.rb", "mount_as": "fn", "class": "ReeText::SanitizeHtml", "factory": null, "methods": [ { "doc": "Sanitizes both html and css via the safe lists found here:\nhttps://github.com/flavorjones/loofah/blob/master/lib/loofah/html5/safelist.rb\n\nTags and attributes can also be passed to +sanitize+.\nPassed options take precedence over the class level options.", "throws": [ "ArgumentError" ], "return": "String", "args": [ { "arg": "html", "arg_type": "req", "type": "String" }, { "arg": "prune", "arg_type": "key", "type": "Bool" }, { "arg": "opts", "arg_type": "keyrest", "type": "Ksplat[:tags? => ArrayOf[String], :attributes? => ArrayOf[String]]" } ] } ], "links": [ ] }
Version data entries
71 entries across 71 versions & 1 rubygems