diff --git a/RIGS/templatetags/markdown_tags.py b/RIGS/templatetags/markdown_tags.py index 2c44595c..ce8826d6 100644 --- a/RIGS/templatetags/markdown_tags.py +++ b/RIGS/templatetags/markdown_tags.py @@ -22,8 +22,8 @@ def markdown_filter(text, format='html'): # should become
         for c in soup('code'):
-            c.name = 'pre'
-            c.parent.replaceWithChildren()
+            c.name = 'font'
+            c['face'] = "Courier"
 
         # blockquotes don't exist but we can still do something to show
         for bq in soup('blockquote'):