htmlwhitelist 0.5.2-dev
htmlwhitelist: ^0.5.2-dev copied to clipboard
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
Urisclass to contain various utility functions for inspecting and filtering uris - Restrict
hrefinaandciteinblockquoteandqto valid uris with the schemes blank,httporhttps - Only add
rel="nofollow"for external references - Restrict
srcinimgto valid uris with the schemes blank,http,httpsordata
0.3.0 #
- Replaced
AddAttributebyAttributeCollectorfor more flexibility in the generated attributes - Renamed
forceAttributetosetAttributeto better reflect what it does - The
originalAttributesare now in source order and unmodifiable
0.2.1 #
- Tweaks in implementation
0.2.0 #
- Added documentation
- Added tests
- Removed
whenfromforceAttribute - Added
whentoWhitelist.tags,Whitelist.attributesandWhitelist.extraAttributes - Several minor improvements
0.1.0 #
- Initial implementation