Releases: Vereyon/HtmlRuleSanitizer
Version 1.8.0
This release adds support for custom element sanitizers, implements attribute quote normalization and enables nullable references types to reduce the changes of NullReferenceExceptions.
What's Changed
- Annotate nullable by @leotsarev in #33
- Add element sanitizers by @aaubry in #34
- Enforce single quotes instead of double quotes for attributes #15
New Contributors
Full Changelog: v1.7.1...v1.8.0
Version 1.7.1
This release makes deriving from the UrlCheckerAttributeSanitizer
class easier. No functional changes are included.
What's Changed
- Reallow to customize UrlCheckerAttributeSanitizer (fixes #31) by @leotsarev in #32
Full Changelog: v1.7.0...v1.7.1
Version 1.7.0
This release adds some features and removes support for some old and out of support target frameworks. Functional changes are limited to removing comments by default.
All changes included are:
- Remove comments by default.
- Add events before nodes are processed and after nodes are processed to ease customization by @dahall in #30
- Make allowed URI schemes more easily configurable.
- Update required HtmlAgilityPack to 1.7.1
- Remove support for .NET Framework 4.0, 4.5, and .NET Standard 1.3
Full Changelog: v1.6.0...v1.7.0
Version 1.6.0
- Make attribute sanitazation extensible
Version 1.5.0
- Fixed white listing mode not working as expected
- Updated minimum version of HtmlAgilityPack to 1.6.0
Version 1.2.1
- Added mailto: uri scheme to default allowed uri schemes.
Version 1.2.0
Added IHtmlSanitizer interface to aid in testability of solutions using the sanitizer.
Implemented cascading removal of empty HTML elements.
Implemented HTML entity encoding.
Added more unit tests.
Version 1.1.4
Fixed incorrect handling of unclosed tags.
Added url validation for src attributes.
Version 1.1.3
Merge branch 'master' of https://github.com/Vereyon/HtmlRuleSanitizer Conflicts: README.md