Photon: Don't mangle wanted img tag attributes.

Before Photon would mangle data attributes that just contain the substring height or width. This is not wanted, so the regex that cuts out the attributes now makes sure that the substring height or width is preceded by a whitespace.