Emit spans around loop-state for CSS'ability.