htmlwhitelist 0.4.0
htmlwhitelist: ^0.4.0 copied to clipboard
This library can be used to clean up html.
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