Hpricot html parser

I've replaced Nokogiri parser to Hpricot (I know it's deprecated) and it solved all problems with html stricting things includes optional attributes for Polymer.
And sorry for another portion of my poor English.