We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1385dd6 commit 120d885Copy full SHA for 120d885
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:|[a-zA-Z]{4,}:)/
+export const outboundRE = /^[a-z]+:/i
5
6
export function normalize (path) {
7
return decodeURI(path)
0 commit comments