1. Georg Brandl
  2. pygments-main
  3. Pull requests

Pull requests

#231 Merged
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

  • Learn about pull requests

Comments (1)