separate elements that have "href" attributes from elements that have
"src" attributes.  this causes mismatching in minified
replacements where an img tag is wrapped in an element with an href
tag.  (.e.g <a href="/something"><img src="/my-image"/></a>)