#231 Merged at c1a0ee1
Repository
Deleted repository
Branch
default (1b5241fd01a0)
Repository
pygments-main
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)