--- a/review/web.py Fri Jun 18 23:04:40 2010 -0400
+++ b/review/web.py Fri Jun 18 23:05:28 2010 -0400
@@ -52,6 +52,7 @@
'no': len(filter(lambda s: s.opinion == 'no', signoffs)),
'neutral': len(filter(lambda s: s.opinion == '', signoffs)),}
+markdowner = markdown2.Markdown(safe_mode='escape', extras=['code-friendly', 'pyshell', 'imgless'])
utils = {
'node_short': short,
'md5': md5,
@@ -65,7 +66,7 @@
'map': map,
'str': str,
'decode': lambda s: s.decode('utf-8'),
- 'markdown': markdown2.markdown,
+ 'markdown': markdowner.convert,
}
def _render(template, **kwargs):