sabberworm / PHP-CSS-Parser

A Parser for CSS Files written in PHP. Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS

Home Page:http://www.sabberworm.com/blog/2010/6/10/php-css-parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Function name with escaping not properly recognized

crisp-tweakers opened this issue · comments

e.g.

body { background: ur\l("//example.org/picture.jpg"); }

the url-function is not parsed into a URL object but into a CSSFunction object, even though the function name is normalized to 'url'

Thanks, I might look into this soon.

@raxbg thanks, you’re amazing.

ezoic increase your site revenue