From a10ee8f58c5d97f7e520872a2c5ebc5c03abc295 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 17 Feb 2017 10:18:37 -0800 Subject: [PATCH] Revert priority change, http handler needs to be top --- src/Linkifier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Linkifier.ts b/src/Linkifier.ts index 74c03adc..6bc1d86f 100644 --- a/src/Linkifier.ts +++ b/src/Linkifier.ts @@ -123,7 +123,7 @@ export class Linkifier { return; } const text = row.textContent; - for (let i = this._linkMatchers.length - 1; i >= 0; i--) { + for (let i = 0; i < this._linkMatchers.length; i--) { const matcher = this._linkMatchers[i]; const uri = this._findLinkMatch(text, matcher.regex, matcher.matchIndex); if (uri) {