diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gendata.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/gendata.js b/tools/gendata.js index a00a3eb..bc7c996 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -98,7 +98,12 @@ function flush_scenario_html() { } function nbsp_target(target) { - return target.split(", ").map(x=>x.replaceAll(" ", "\xa0")).join(", ") + return target + .split(", ") + .map(x=>x.replaceAll(" ", "\xa0")) + .join(", ") + .replaceAll("\xa0or\xa0", " or ") + .replaceAll("\xa0OR\xa0", " OR ") } for (let c of card_records) { |