From e17ad66c1fa111fb0a72b8a3501cd45d145133b2 Mon Sep 17 00:00:00 2001 From: Stepan Suvorov Date: Mon, 8 Jun 2020 20:08:44 +0200 Subject: [PATCH] decodeURI --- src/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.js b/src/parser.js index 56504fb..3b7d14f 100644 --- a/src/parser.js +++ b/src/parser.js @@ -42,7 +42,7 @@ function collectPosts(data, config) { // meta data isn't written to file, but is used to help with other things meta: { id: getPostId(post), - slug: getPostSlug(post), + slug: decodeURI(getPostSlug(post)), coverImageId: getPostCoverImageId(post), imageUrls: [] },