What's Changed
- Make URL whitespace handling configurable with three modes by @macdrevx in #369
- Default URLWhitespaceMode to .allow by @macdrevx in #370
- Fix nbsp not escaped when it's the only special character by @macdrevx in #371
- Fix URL resolution being applied to non-URL attributes by @macdrevx in #372
- Fix CharacterReader bounds safety for truncated HTML by @rursache in #373
- Remove external dependencies by vendoring LRUCache by @rursache in #374
- Add explicit XML parse convenience APIs by @rursache in #378
- Escape cssSelector output for class and id selectors by @rursache in #377
- Add CSS property whitelisting to the sanitizer by @rursache in #375
- Normalize output for Whitelist.none() by @rursache in #376
- Add byte-based URL parsing helpers by @rursache in #379
- Add :containsData() CSS pseudo-selector by @rursache in #381
- Add crossorigin to boolean attributes list by @rursache in #382
- Add ElementQuery protocol as common interface for Element and Elements by @rursache in #383
- Various optimizations by @aehlke in #359
- Various optimizations by @aehlke in #360
- Various optimizations by @aehlke in #361
- Various optimizations by @aehlke in #362
- Various optimizations by @aehlke in #363
- Various optimizations by @aehlke in #365
- Various optimizations by @aehlke in #366
- Various optimizations by @aehlke in #367
- Various optimizations by @aehlke in #368
New Contributors
Full Changelog: 2.11.3...2.12