v5.1.0
Features
- Added a
:parser_options
config hash, which makes it possible to pass custom parsing options to Nokogumbo. @austin-wang - #194
Bug Fixes
- Non-characters and non-whitespace control characters are now stripped from HTML input before parsing to comply with the HTML Standard's preprocessing guidelines. Prior to this Sanitize had adhered to older W3C guidelines that have since been withdrawn. #179