Merge pull request #4594 from matrix-org/t3chguy/linkify-local-domains
accept and linkify local domains like those from mDNSpull/21833/head
commit
38da33941b
|
@ -44,7 +44,7 @@ function matrixLinkify(linkify) {
|
|||
const S_HASH = S_START.jump(TT.POUND);
|
||||
const S_HASH_NAME = new linkify.parser.State();
|
||||
const S_HASH_NAME_COLON = new linkify.parser.State();
|
||||
const S_HASH_NAME_COLON_DOMAIN = new linkify.parser.State();
|
||||
const S_HASH_NAME_COLON_DOMAIN = new linkify.parser.State(ROOMALIAS);
|
||||
const S_HASH_NAME_COLON_DOMAIN_DOT = new linkify.parser.State();
|
||||
const S_ROOMALIAS = new linkify.parser.State(ROOMALIAS);
|
||||
const S_ROOMALIAS_COLON = new linkify.parser.State();
|
||||
|
@ -92,7 +92,7 @@ function matrixLinkify(linkify) {
|
|||
const S_AT = S_START.jump(TT.AT);
|
||||
const S_AT_NAME = new linkify.parser.State();
|
||||
const S_AT_NAME_COLON = new linkify.parser.State();
|
||||
const S_AT_NAME_COLON_DOMAIN = new linkify.parser.State();
|
||||
const S_AT_NAME_COLON_DOMAIN = new linkify.parser.State(USERID);
|
||||
const S_AT_NAME_COLON_DOMAIN_DOT = new linkify.parser.State();
|
||||
const S_USERID = new linkify.parser.State(USERID);
|
||||
const S_USERID_COLON = new linkify.parser.State();
|
||||
|
@ -138,7 +138,7 @@ function matrixLinkify(linkify) {
|
|||
const S_PLUS = S_START.jump(TT.PLUS);
|
||||
const S_PLUS_NAME = new linkify.parser.State();
|
||||
const S_PLUS_NAME_COLON = new linkify.parser.State();
|
||||
const S_PLUS_NAME_COLON_DOMAIN = new linkify.parser.State();
|
||||
const S_PLUS_NAME_COLON_DOMAIN = new linkify.parser.State(GROUPID);
|
||||
const S_PLUS_NAME_COLON_DOMAIN_DOT = new linkify.parser.State();
|
||||
const S_GROUPID = new linkify.parser.State(GROUPID);
|
||||
const S_GROUPID_COLON = new linkify.parser.State();
|
||||
|
|
Loading…
Reference in New Issue