Also test coverage report indicates that the line:

`return util.format('<a%shref="%s"%s>%s</a>', pre, link, post, text);`

is not getting test coverage. We should try and get coverage on that somehow.