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