codler/jQuery-Css3-Finalize

Patch for version 2.5 - allow "!important" behind rgba

codler opened this issue · 0 comments

https://github.com/codler/jQuery-Css3-Finalize/blob/v2.5/jquery.css3finalize.js#L549
replace the string

/^rgba\s?\(\s?(.*?)\s?\)$/

to

/^rgba\s?\(\s?(.*?)\s?\).*/

This patch will fix parsing this css string

background-color: rgba(104, 107, 115, 0.2) !important;