diff --git a/scripts/create.mjs b/scripts/create.mjs index 39f07d85..653b3dcd 100644 --- a/scripts/create.mjs +++ b/scripts/create.mjs @@ -25,6 +25,7 @@ export function create(str = '', options = {}) { description = (description[0] || '') .replace(/^\n[=\n]+/, '') .replace(/\[([\s\S]*?)?\]\(([\s\S]*?)?\)/g, '$1') + .replace(//gi, '') .replace(/\n/, ''); const subTitle = options.filename && !options.isHome ? `${options.filename} cheatsheet & ` : ''; /** 用于搜索数据 */