diff --git a/lib/marked.js b/lib/marked.js
index f1d66ed4f9..c8236e95d1 100644
--- a/lib/marked.js
+++ b/lib/marked.js
@@ -50,12 +50,12 @@ block.list = replace(block.list)
block._tag = '(?!(?:'
+ 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code'
+ '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo'
- + '|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b';
+ + '|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b';
block.html = replace(block.html)
('comment', //)
('closed', /<(tag)[\s\S]+?<\/\1>/)
- ('closing', / Here are some valid autolinks: http://foo.bar.baz/test?q=hello&id=22&boolean Uppercase is also fine: Note that many strings that count as absolute URIs for purposes of this spec are not valid URIs, because their schemes are not registered or because of other problems with their syntax: Spaces are not allowed in autolinks: <http://foo.bar/baz bim> Backslash-escapes do not work inside autolinks: Examples of email autolinks: Backslash-escapes do not work inside email autolinks: <foo+@bar.example.com> These are not autolinks: <> < http://foo.bar > <m:abc> <foo.bar.baz> http://example.com foo@bar.example.com This should be a link:
-http://example.com/hello-world. link with . http://example.com/hello-world. link with ! http://example.com/hello-world! link with : http://example.com/hello-world: link with , http://example.com/hello-world, link with ; http://example.com/hello-world; link with ) http://example.com/hello-world) link with nothing http://example.com/hello-world The scheme http will be inserted automatically: After a valid domain, zero or more non-space non-< characters may follow: Visit www.commonmark.org/help for more information. Trailing punctuation (specifically, ?, !, ., ,, :, *, _, and ~) will not be considered part of the autolink, though they may be included in the interior of the link: Visit www.commonmark.org. Visit www.commonmark.org/a.b. www.google.com/search?q=Markup+(business) (www.google.com/search?q=Markup+(business)) www.google.com/search?q=(business))+ok www.google.com/search?q=commonmark&hl=en www.google.com/search?q=commonmark& < immediately ends an autolink. (Visit https://encrypted.google.com/search?q=Markup+(business)) Anonymous FTP is available at ftp://foo.bar.baz. Extended email autolinks: hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is. a.b-c_d@a.b-Example 565
+
+
+
+Example 566
+
+Example 567
+
+
+
+Example 568
+
+Example 569
+
+
+
+Example 570
+
+
+
+Example 571
+
+
+
+Example 572
+
+
+
+Example 573
+
+Example 574
+
+Example 575
+
+
+
+Example 576
+
+
+
+Example 577
+
+Example 578
+
+Example 579
+
+Example 580
+
+Example 581
+
+Example 582
+
+Example 583
+
+Example 597
+
+Example 598
+
+Example 599
+
+Example 600
+
+Example 601
+
+Example 602
+
+Example 603
+
+Example 604
+
+
+
+Example 605
+
+
+
+Example 606
+
+Example 607
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/new/gfm_links.md b/test/new/gfm_links.md
index c1336661a9..86b9a3eec2 100644
--- a/test/new/gfm_links.md
+++ b/test/new/gfm_links.md
@@ -1 +1,83 @@
-This should be a link: http://example.com/hello-world.
+link with . http://example.com/hello-world.
+
+link with ! http://example.com/hello-world!
+
+link with : http://example.com/hello-world:
+
+link with , http://example.com/hello-world,
+
+link with ; http://example.com/hello-world;
+
+link with ) http://example.com/hello-world)
+
+link with nothing http://example.com/hello-world
+
+### Example 597
+
+The scheme http will be inserted automatically:
+
+www.commonmark.org
+
+### Example 598
+
+After a valid domain, zero or more non-space non-< characters may follow:
+
+Visit www.commonmark.org/help for more information.
+
+### Example 599
+
+Trailing punctuation (specifically, ?, !, ., ,, :, \*, \_, and ~) will not be considered part of the autolink, though they may be included in the interior of the link:
+
+Visit www.commonmark.org.
+
+Visit www.commonmark.org/a.b.
+
+### Example 600
+
+www.google.com/search?q=Markup+(business)
+
+(www.google.com/search?q=Markup+(business))
+
+### Example 601
+
+www.google.com/search?q=(business))+ok
+
+### Example 602
+
+www.google.com/search?q=commonmark&hl=en
+
+www.google.com/search?q=commonmark&
+
+### Example 603
+
+< immediately ends an autolink.
+
+www.commonmark.org/hea.b-c_d@a.b_
+
<<svg/onload="alert(1)"//@x>
-bar"onclick="alert('XSS')"@foo
+<bar"onclick="alert('XSS')"@foo>