- Drop Ruby 2.7 compatibility
- Require Nokogiri >= 1.16
- Add support for no-comma rgb() functions when
rgb_to_hex_attributes: true
- Use rule_set_exceptions in for expand_shorthand!
- Use rule_set_exceptions in nokogiri_fast and nokogumbo adapters
- Catch errors during expand_shorthand and handle using rule_set_exceptions
- Conditionally set YAML loading arguments based on psych gem version
- Use new rule_set_exceptions in nokogiri adapter to swallow invalid css errors silently
- Support ignoring rule set exceptions from CSS Parser
- drop ruby 2.5 and 2.6
- change id generation from MD5 -> SHA-256
- improve a href parsing
- add existing license to gemspec
- fix greedy url() parsing
- Fix to converting inline html 100px to 100
- Convert inline html 100px to 100
- Replace deprecated File.exists? with File.exist? (fixes Ruby 2.8 deprecation warning)
- Fix URI.open deprecation warnings
- Fix greedy script regex.
- Fix input encoding in nokogiri adapters.
- Support for HTML fragments rendering (without enforcing of doctype, head, body). See :html_fragment option.
- Depends on css_parser 1.6.0.
- Exponential regexp in convert_to_text fixed.
- Keep consecutive whitespaces.
- Depends on css_parser 1.5.0.
- Fix LoadError addressable with Addressable 2.3.8
- Depends on css_parser 1.4.10.
- Drops wrong destructive sorting of attributes (
css_parser
already does it correctly) - Replace obsolete
URI
calls withAddressable::URI
. - Drop last semicolon from attributes.
- Update tests.