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

Do not throw exceptions for unopened closing brackets in lenient mode

raxbg opened this issue · comments

For example this will throw an exception:

}.blue{
    background: #00F;
}

I think it's okay to ignore it in lenient mode.