Format Element#tagName correctly when there's a prefix.

format!("{}", atom) yields strings like "Atom('span' type=Inline)", which is
not intended here.