From 27f005b7e967bce5e0909d6e669226ca3f2bd02e Mon Sep 17 00:00:00 2001
From: Devon Bull <devjbull@gmail.com>
Date: Sun, 30 Jun 2019 23:04:48 -0600
Subject: [PATCH] feat($theme-default): support custom URL scheme for external
 links (#1677)

---
 packages/@vuepress/theme-default/util/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/@vuepress/theme-default/util/index.js b/packages/@vuepress/theme-default/util/index.js
index d6375c023c..0b35ccdebe 100644
--- a/packages/@vuepress/theme-default/util/index.js
+++ b/packages/@vuepress/theme-default/util/index.js
@@ -1,7 +1,7 @@
 export const hashRE = /#.*$/
 export const extRE = /\.(md|html)$/
 export const endingSlashRE = /\/$/
-export const outboundRE = /^(https?:|mailto:|tel:)/
+export const outboundRE = /^(https?:|mailto:|tel:|[a-zA-Z]{4,}:)/
 
 export function normalize (path) {
   return decodeURI(path)