diff --git a/src/js/Core/Html/Html.ts b/src/js/Core/Html/Html.ts index 47e902704..74307f0d4 100644 --- a/src/js/Core/Html/Html.ts +++ b/src/js/Core/Html/Html.ts @@ -5,7 +5,7 @@ export default class HTML { static formatUrl(link: string): string { const protocolReg = /^[a-z]+:\/\//; const _link = protocolReg.test(link) ? link : `//${link}`; - return this.escape(_link); + return encodeURI(_link); } static escape(str: string): string {