Don't add style="" to the span if it's empty.