diff --git a/server/libs/markdown.js b/server/libs/markdown.js index b86e6fe8..101c2587 100644 --- a/server/libs/markdown.js +++ b/server/libs/markdown.js @@ -94,6 +94,7 @@ const videoRules = [ * @return {Array} TOC tree */ const parseTree = (content) => { + content = content.replace(//g, '') let tokens = md().parse(content, {}) let tocArray = []