diff --git a/build/md2json.js b/build/md2json.js index 2cd73f9e..46cb5c69 100644 --- a/build/md2json.js +++ b/build/md2json.js @@ -1,7 +1,11 @@ fs = require('fs') function md_trim(str) { - return str.replace(/(^\s+)|(\s+$)/g, ""); + str = str.replace(/(^\s+)|(\s+$)/g, ""); + if (str.lastIndexOf("[Go!]", 0) === 0) { + str = str.replace("[Go!]", "").slice(1, -1); + } + return str; } function handle(filename, anchor) {