Support for options.span, which switches to a span rather than an anchor element