Pull requests

#231 Merged
Repository
skleinfeld skleinfeld
Branch
default
Repository
birkenfeld birkenfeld
Branch
default

Bug fixes for CSSLexer

Author
  1. Sanders Kleinfeld
Reviewers
Description

Hi Pygments team,

Here are some suggested fixes for the CSSLexer:

  • Reordered several keyword alternatives (e.g., put "outline-color" before "outline") to ensure proper matching
  • Added separate regex to handle numerical values with percentages, as doing \b matching with percentages doesn't work properly.

Thanks, Sanders

Comments (1)