improve test

This commit is contained in:
rolux 2012-05-27 21:32:08 +02:00
parent ef41bc1252
commit b9f7490436

View file

@ -127,8 +127,8 @@
'foo bar &lt;<a href="mailto:foo@bar.com">foo@bar.com</a>&gt;'
> Ox.addLinks('www.foo.com/bar#baz, etc.')
'<a href="http://www.foo.com/bar#baz">www.foo.com/bar#baz</a>, etc.'
> Ox.addLinks('<a href="http://foo.com">foo.com</a>', true)
'<a href="http://foo.com">foo.com</a>'
> Ox.addLinks('<a href="http://www.foo.com">www.foo.com</a>', true)
'<a href="http://www.foo.com">www.foo.com</a>'
@*/
Ox.addLinks = function(string, isHTML) {
var isLink = false;