diff --git a/src/localization/manager.js b/src/localization/manager.js index 273300b..65c048c 100644 --- a/src/localization/manager.js +++ b/src/localization/manager.js @@ -45,4 +45,4 @@ export default function(lang, string, replacement) { return `!!${string}!!` } } -export let languageList = languages; +export const languageList = languages; diff --git a/src/modules/build.js b/src/modules/build.js index 515e712..6c4bee8 100644 --- a/src/modules/build.js +++ b/src/modules/build.js @@ -4,7 +4,7 @@ import { languageList } from "../localization/manager.js"; import page from "./pageRender/page.js"; function cleanHTML(html) { - let clean = html.replace(/ /g, ''); + let clean = html.replace(/ {4}/g, ''); clean = clean.replace(/\n/g, ''); return clean }