- null-safety
- update dependency:
- html ^0.15.0
- Update test dependency for Dart 2.0
- Moving to Dart 2.0 compatibility
- Added examples
- Introduced strong mode
- Added documentation to
Uris
- Tweaks in implementation
- Added
Uris
class to contain various utility functions for inspecting and filtering uris - Restrict
href
ina
andcite
inblockquote
andq
to valid uris with the schemes blank,http
orhttps
- Only add
rel="nofollow"
for external references - Restrict
src
inimg
to valid uris with the schemes blank,http
,https
ordata
- Replaced
AddAttribute
byAttributeCollector
for more flexibility in the generated attributes - Renamed
forceAttribute
tosetAttribute
to better reflect what it does - The
originalAttributes
are now in source order and unmodifiable
- Tweaks in implementation
- Added documentation
- Added tests
- Removed
when
fromforceAttribute
- Added
when
toWhitelist.tags
,Whitelist.attributes
andWhitelist.extraAttributes
- Several minor improvements
- Initial implementation