Skip to content

Commit

Permalink
change markdown toc header elements to be consistent with markdown pa…
Browse files Browse the repository at this point in the history
…ckage
  • Loading branch information
jjallaire committed Apr 9, 2012
1 parent e7fe1f9 commit 0614335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/core/markdown/Markdown.cpp
Expand Up @@ -256,8 +256,8 @@ Error markdownToHTML(const std::string& markdownInput,
&tocOutput);
if (error)
return error;
pHTMLOutput->append("<div id=\"table_of_contents\">\n");
pHTMLOutput->append("<h1>Table of Contents</h1>\n");
pHTMLOutput->append("<div id=\"toc\">\n");
pHTMLOutput->append("<div id=\"toc_header\">Table of Contents</div>\n");
pHTMLOutput->append(tocOutput);
pHTMLOutput->append("</div>\n");
pHTMLOutput->append("\n");
Expand Down

0 comments on commit 0614335

Please sign in to comment.