htmlwhitelist 0.4.1 copy "htmlwhitelist: ^0.4.1" to clipboard
htmlwhitelist: ^0.4.1 copied to clipboard

outdatedDart 1 only

This library can be used to clean up html on the server.

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
pub points
70%
popularity

Publisher

unverified uploader

This library can be used to clean up html on the server.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

html

More

Packages that depend on htmlwhitelist