Skip to content

1.8.0

Compare
Choose a tag to compare
@facelessuser facelessuser released this 17 Feb 03:19
49caacb

1.8.0

  • NEW: Add custom selector support. (#92)(#108)
  • FIX: Small tweak to CSS identifier pattern to ensure it matches the CSS specification exactly. Specifically, you can't have an identifier of only -. (#107)
  • FIX: CSS string patterns should allow escaping newlines to span strings across multiple lines. (#107)
  • FIX: Newline regular expression for CSS newlines should treat \r\n as a single character, especially in cases such as string escapes: \\\r\n. (#107)
  • FIX: Allow -- as a valid identifier or identifier start. (#107)
  • FIX: Bad CSS syntax now raises a SelectorSyntaxError, which is still currently derived from SyntaxError, but will most likely be derived from Exception in the future.