From 1f959ee3a2b3e09baa6dae8afa47a2230a82aa3f Mon Sep 17 00:00:00 2001 From: Avris Date: Tue, 3 Nov 2020 23:32:57 +0100 Subject: [PATCH] [bug][templates] fix url decoding --- routes/template.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/template.vue b/routes/template.vue index 303c1882..42f785f2 100644 --- a/routes/template.vue +++ b/routes/template.vue @@ -117,7 +117,7 @@ components: {LinkedText, GrammarTables }, data() { const selectedTemplate = this.config.template.enabled - ? buildTemplate(templates, this.$route.path.substr(1).replace(/\/$/, '')) + ? buildTemplate(templates, decodeURIComponent(this.$route.path.substr(1).replace(/\/$/, ''))) : null; return {