theme_bandit icon indicating copy to clipboard operation
theme_bandit copied to clipboard

link_tags method failing on <link> tags with no rel .value()

Open dchuk opened this issue 8 years ago • 1 comments

/theme_bandit-0.0.9/lib/theme_bandit/parser/css.rb:13:inblock in link_tags': undefined method value' for nil:NilClass (NoMethodError)

Relevant method: https://github.com/lfender6445/theme_bandit/blob/master/lib/theme_bandit/parser/css.rb#L11

Example tag:

<link itemprop="url" href="http://www.domain.com" style="display: none;"/>

I can probably patch this later today.

EDIT: Updated with correct failing tag

dchuk avatar Mar 22 '16 15:03 dchuk