Skip to content
Permalink
Browse files

Attempting to fix because that bug isn't reproductible.

  • Loading branch information...
Depado committed Nov 16, 2015
1 parent 78f8558 commit 13f5546480ad28f94ac54eae35ed19bca8e5257a
Showing with 5 additions and 0 deletions.
  1. +5 −0 app/utils/markdown.py
@@ -155,6 +155,11 @@ def output_latex_environment(self):

class HighlighterRenderer(mistune.Renderer):

def __init__(self, *args, **kwargs):
super(HighlighterRenderer, self).__init__(*args, **kwargs)
self.toc_count = 0
self.toc_tree = []

def block_code(self, code, lang=None):
if not lang:
lang = 'text'

0 comments on commit 13f5546

Please sign in to comment.
You can’t perform that action at this time.