Skip to content

Commit 4391a61

Browse files
author
Nick Frasser
committed
Merge pull request #102 from mbojey/'add-local-tlds'
adding local to tlds.js
2 parents d4ddb56 + 2295f88 commit 4391a61

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/spec/linkify/core/scanner-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ var tests = [
6363
['comm', [DOMAIN], ['comm']],
6464
['abc 123 DoReMi', [DOMAIN, WS, NUM, WS, DOMAIN], ['abc', ' ', '123', ' ', 'DoReMi']],
6565
['abc 123 \n DoReMi', [DOMAIN, WS, NUM, WS, NL, WS, DOMAIN], ['abc', ' ', '123', ' ', '\n', ' ', 'DoReMi']],
66-
['local', [DOMAIN], ['local']],
66+
['local', [TLD], ['local']],
6767
['localhost', [LOCALHOST], ['localhost']],
6868
['localhosts', [DOMAIN], ['localhosts']],
6969
['500px', [DOMAIN], ['500px']],

tlds.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ module.exports = [
375375
'link',
376376
'lk',
377377
'loans',
378+
'local',
378379
'london',
379380
'lotto',
380381
'lr',

0 commit comments

Comments
 (0)