From ea7adb58856831def06a2c076153b0b34d904e37 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Thu, 6 Feb 2020 01:35:59 +0100 Subject: [PATCH] Fix rules contents --- client/src/views/Rules.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/Rules.vue b/client/src/views/Rules.vue index 8e883301..5c38a2dc 100644 --- a/client/src/views/Rules.vue +++ b/client/src/views/Rules.vue @@ -83,7 +83,7 @@ export default { this.content = require("raw-loader!@/translations/rules/" + vname + "/" + this.st.lang + ".pug") // Next two lines fix a weird issue after last update (2019-11) - .replace(/\\[n"]/g, " ") + .replace(/\\n/g, " ").replace(/\\"/g, '"') .replace('module.exports = "', '').replace(/"$/, "") .replace(/(fen:)([^:]*):/g, replaceByDiag); }, -- 2.44.0