From 46fe179c84f1b042581db8883111807e8d05fbc9 Mon Sep 17 00:00:00 2001 From: nfrasser Date: Sun, 17 Apr 2016 19:44:52 -0400 Subject: [PATCH] Ignore tags test updates for linkifyElement --- test/spec/html/linkified-alt.html | 8 ++++---- test/spec/html/linkified-validate.html | 6 +++--- test/spec/html/linkified.html | 6 +++--- test/spec/html/options.js | 7 ++++++- test/spec/html/original.html | 2 +- 5 files changed, 17 insertions(+), 12 deletions(-) diff --git a/test/spec/html/linkified-alt.html b/test/spec/html/linkified-alt.html index a6b137f3..099b26dd 100644 --- a/test/spec/html/linkified-alt.html +++ b/test/spec/html/linkified-alt.html @@ -1,4 +1,4 @@ -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a diff --git a/test/spec/html/linkified-validate.html b/test/spec/html/linkified-validate.html index f2ee5dbb..e70a1490 100644 --- a/test/spec/html/linkified-validate.html +++ b/test/spec/html/linkified-validate.html @@ -1,3 +1,3 @@ -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com \ No newline at end of file +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a diff --git a/test/spec/html/linkified.html b/test/spec/html/linkified.html index f9dc5477..85cc61aa 100644 --- a/test/spec/html/linkified.html +++ b/test/spec/html/linkified.html @@ -1,3 +1,3 @@ -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a diff --git a/test/spec/html/options.js b/test/spec/html/options.js index 0badc50a..b87eeb12 100644 --- a/test/spec/html/options.js +++ b/test/spec/html/options.js @@ -29,7 +29,11 @@ module.exports = { mouseover: function () { throw 'Hovered!'; } - } + }, + ignoreTags: [ + 'script', + 'style' + ] }, validateOptions: { @@ -37,4 +41,5 @@ module.exports = { return type !== 'url' || /^(http|ftp)s?:\/\//.test(text) || text.slice(0,3) === 'www'; } } + }; diff --git a/test/spec/html/original.html b/test/spec/html/original.html index 0d8f7dac..0d73c0e8 100644 --- a/test/spec/html/original.html +++ b/test/spec/html/original.html @@ -1 +1 @@ -Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com +Hello here are some links to ftp://awesome.com/?where=this and localhost:8080, pretty neat right?

Here's a nested github.com/SoapBox/linkifyjs paragraph

and another link to www.google.com and a