Getting proper span flag value from bitmask.
HTML image parsing listener added.