Commit f4f7589d authored by Christophe Dumez's avatar Christophe Dumez

- fixed syntax highlighting when displaying file content


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7535 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca629e11
......@@ -160,7 +160,7 @@ def colorizeTag(tag):
color = '#0c4f0c'#dark green
else:
color = 'blue'
return '<font color="%s">%s</font>' % (color, text, )
return "<font color='%s'>%s</font>" % (color, text, )
def colorize(text):
"""Return HTML Code with syntax hightlighting
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment