diff --git a/docs/.vuepress/markdown/createSidebar.js b/docs/.vuepress/markdown/createSidebar.js index a5d3db9f0066409defcc28bfb481c75256bad2ef..0a5210c889bce23723a21af3449481a20754d73a 100644 --- a/docs/.vuepress/markdown/createSidebar.js +++ b/docs/.vuepress/markdown/createSidebar.js @@ -13,7 +13,7 @@ function parseBar(tab, file, options) { const linkName = options.link || 'link' const contents = [] - new MarkdownIt().parse(fs.readFileSync(file, { encoding: 'utf-8' }).replace(//g, '')).forEach(token => { + new MarkdownIt().parse(fs.readFileSync(file, { encoding: 'utf-8' }).replace(//g, '').replace(/\t/g, ' ')).forEach(token => { if (token.type === 'inline') { let text let link