lifei6671 7 лет назад
Родитель
Сommit
2afc88c31f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      static/editor.md/editormd.js

+ 1 - 1
static/editor.md/editormd.js

@@ -3765,7 +3765,7 @@
                 text = (isTeXLine) ? text.replace(/\$/g, "") : text;
             }
 
-            var tocHTML = "<div class=\"markdown-toc editormd-markdown-toc\">" + text + "</div><div class=\"markdown-article\">";
+            var tocHTML = "<div class=\"markdown-toc editormd-markdown-toc\">" + text + "</div>";
 
             return (isToC) ? ( (isToCMenu) ? "<div class=\"editormd-toc-menu\">" + tocHTML + "</div><br/>" : tocHTML )
                            : ( (pageBreakReg.test(text)) ? this.pageBreak(text) : "<p" + isTeXAddClass + ">" + this.atLink(this.emoji(text)) + "</p>\n" );