Issue #751 resolved

CssLexer treats Opera prefix (-o-) as Operator Error Operator

created an issue

Simple test:

Single-letter prefixes are treated as errors, but double ones are OK:

-o-foo -> Operator Error Operator Name vs. -ms-foo -> Operator Name Operator Name.

I guess this is due to the following regex in the CssLexer:

Maybe something like the following would fix this? {{{ (r'[a-zA-Z_]?[a-zA-Z0-9_]+', Name) }}}

Comments (1)

  1. Log in to comment