Fix: decodeURI -> encodeURI

This commit is contained in:
eight 2017-09-12 03:56:05 +08:00
parent de84248e05
commit e2ea93a3c7

View File

@ -79,8 +79,8 @@ function initInstallPage({style, dup}, sourceLoader) {
)}</button> )}</button>
</div> </div>
<div class="external"> <div class="external">
<a href="${decodeURI(style.url)}" target="_blank" i18n-text="externalHomepage" rel="noopener"></a> <a href="${encodeURI(style.url)}" target="_blank" i18n-text="externalHomepage" rel="noopener"></a>
<a href="${decodeURI(style.supportURL)}" target="_blank" i18n-text="externalSupport" rel="noopener"></a> <a href="${encodeURI(style.supportURL)}" target="_blank" i18n-text="externalSupport" rel="noopener"></a>
</div> </div>
</div> </div>
<div class="main"> <div class="main">