Closed mintuhouse closed 11 months ago
running deadweight on
# bootstrap/_print.scss a[href^="#"]:after, a[href^="javascript:"]:after { content: ""; }
gives following error as strip changes a[href^="javascript:"]:after to a[href^="javascript which is an invalid selector
a[href^="javascript:"]:after
a[href^="javascript
gems/nokogiri-1.6.6.2/lib/nokogiri/css/parser_extras.rb:87:in `on_error': unexpected '"' after 'prefix_match' (Nokogiri::CSS::SyntaxError)
Only problem being regex look behind works only from ruby 1.9 and above
running deadweight on
gives following error as strip changes
a[href^="javascript:"]:after
toa[href^="javascript
which is an invalid selector