Allow formatSelection to return a DOM or jQuery element, instead of coercing everything into a string