This commit is contained in:
Massimo Di Pierro
2012-02-19 22:30:59 -06:00
parent cf9c827661
commit 4f1d3e79b4
12 changed files with 353 additions and 7 deletions
+2
View File
@@ -1413,6 +1413,7 @@ class CODE(DIV):
link = self['link']
counter = self.attributes.get('counter', 1)
highlight_line = self.attributes.get('highlight_line', None)
context_lines = self.attributes.get('context_lines', None)
styles = self['styles'] or {}
return highlight(
join(self.components),
@@ -1422,6 +1423,7 @@ class CODE(DIV):
styles=styles,
attributes=self.attributes,
highlight_line=highlight_line,
context_lines=context_lines,
)