xhtml: generate a span block for anchor tags

This is needed to identify text and attributes belonging to anchor
tags when e.g. producing epub3 navigation metadata.