Sha256: 07f3f18ee9fce7a86c72e2772a5556b60e7f9df92386e97592f1a29c6bee51ce
Contents?: true
Size: 1.05 KB
Versions: 10
Compression:
Stored size: 1.05 KB
Contents
{ "schema_type": "object", "schema_version": "1.0", "name": "html_scrubber", "path": "packages/ree_text/package/ree_text/functions/html_scrubber.rb", "mount_as": "fn", "class": "ReeText::HtmlScrubber", "factory": null, "methods": [ { "doc": "Allows you to permit only your own tags and/or attributes. If tags or attributes are not set, Loofah's behavior will be used.\n+tags=+\nIf set, elements excluded will be stripped.\nIf not, elements are stripped based on Loofahs +HTML5::Scrub.allowed_element?+.\n\n+attributes=+\nIf set, attributes excluded will be removed.\nIf not, attributes are removed based on Loofahs +HTML5::Scrub.scrub_attributes+.", "throws": [ ], "return": "Loofah::Scrubber", "args": [ { "arg": "opts", "type": "Ksplat[:prune? => Bool, :tags? => ArrayOf[String], :attributes? => ArrayOf[String]]" } ] } ], "links": [ { "target": "unescape_html", "package_name": "ree_text", "as": "unescape_html", "imports": [ ] } ] }
Version data entries
10 entries across 10 versions & 1 rubygems