1234567891011121314151617181920 |
- @@ -77,7 +77,7 @@
- css_class="codehilite", lang=None, style='default',
- noclasses=False, tab_length=4, hl_lines=None, use_pygments=True):
- self.src = src
- - self.lang = lang
- + self.lang = "lua"
- self.linenums = linenums
- self.guess_lang = guess_lang
- self.css_class = css_class
- @@ -119,7 +119,8 @@
- cssclass=self.css_class,
- style=self.style,
- noclasses=self.noclasses,
- - hl_lines=self.hl_lines)
- + hl_lines=self.hl_lines,
- + wrapcode=True)
- return highlight(self.src, lexer, formatter)
- else:
- # just escape and build markup usable by JS highlighting libs
|