The <span> tags are generated on XPages because Domino is trying to generate styling markup.
You can disable this in one of two ways:
a) In the Properties view on the Style tab, activate "Disable runtime-applied default styles"
b) Make sure that no properties for the browser frontend (like class or style) are set