htmlwhitelist 0.5.2-dev copy "htmlwhitelist: ^0.5.2-dev" to clipboard
htmlwhitelist: ^0.5.2-dev copied to clipboard

outdated

This library can be used to clean up html on the server. The main purpose is to convert html from an untrusted source to a version that's safe for rendering.

0.5.2 #

  • Moving to Dart 2.0 compatibility

0.5.1 #

  • Added examples

0.5.0 #

  • Introduced strong mode

0.4.1 #

  • Added documentation to Uris
  • Tweaks in implementation

0.4.0 #

  • Added Uris class to contain various utility functions for inspecting and filtering uris
  • Restrict href in a and cite in blockquote and q to valid uris with the schemes blank, http or https
  • Only add rel="nofollow" for external references
  • Restrict src in img to valid uris with the schemes blank, http, https or data

0.3.0 #

  • Replaced AddAttribute by AttributeCollector for more flexibility in the generated attributes
  • Renamed forceAttribute to setAttribute to better reflect what it does
  • The originalAttributes are now in source order and unmodifiable

0.2.1 #

  • Tweaks in implementation

0.2.0 #

  • Added documentation
  • Added tests
  • Removed when from forceAttribute
  • Added when to Whitelist.tags, Whitelist.attributes and Whitelist.extraAttributes
  • Several minor improvements

0.1.0 #

  • Initial implementation
0
likes
0
points
581
downloads

Publisher

unverified uploader

Weekly Downloads

This library can be used to clean up html on the server. The main purpose is to convert html from an untrusted source to a version that's safe for rendering.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

html

More

Packages that depend on htmlwhitelist