htmlwhitelist 0.5.1
htmlwhitelist: ^0.5.1 copied to clipboard
This library can be used to clean up html on the server. The main purpose is to process html from an untrusted source and make sure that if the html is rendered by your application it doesn't contain [...]
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