We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c82af0d commit 27f005bCopy full SHA for 27f005b
packages/@vuepress/theme-default/util/index.js
@@ -1,7 +1,7 @@
1
export const hashRE = /#.*$/
2
export const extRE = /\.(md|html)$/
3
export const endingSlashRE = /\/$/
4
-export const outboundRE = /^(https?:|mailto:|tel:)/
+export const outboundRE = /^(https?:|mailto:|tel:|[a-zA-Z]{4,}:)/
5
6
export function normalize (path) {
7
return decodeURI(path)
0 commit comments