Sha256: 0f56b06ec7061cf18db819e71d3aee1cf9784843ad4ed89294c1cd105579b708
Contents?: true
Size: 936 Bytes
Versions: 28
Compression:
Stored size: 936 Bytes
Contents
{ "schema_type": "object", "schema_version": "1.0", "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", "type": "String" }, { "arg": "prune", "type": "Bool" }, { "arg": "opts", "type": "Ksplat[:tags? => ArrayOf[String], :attributes? => ArrayOf[String]]" } ] } ], "links": [ ] }
Version data entries
28 entries across 28 versions & 1 rubygems