improve test
This commit is contained in:
parent
ef41bc1252
commit
b9f7490436
1 changed files with 2 additions and 2 deletions
|
@ -127,8 +127,8 @@
|
|||
'foo bar <<a href="mailto:foo@bar.com">foo@bar.com</a>>'
|
||||
> 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;
|
||||
|
|
Loading…
Reference in a new issue