projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9335d45
)
Fix rules contents
author
Benjamin Auder
<benjamin.auder@somewhere>
Thu, 6 Feb 2020 00:35:59 +0000
(
01:35
+0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Thu, 6 Feb 2020 00:35:59 +0000
(
01:35
+0100)
client/src/views/Rules.vue
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/Rules.vue
b/client/src/views/Rules.vue
index
8e88330
..
5c38a2d
100644
(file)
--- 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);
},