i don't feel strongly about it, but i think in vellum we decided that the better way to construct html was to do
`$('<span>").text(ref)`