Commit b75c77fa authored by Christophe Dumez's avatar Christophe Dumez

- replaced a div by a span to avoid new line

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8181 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent afbd0c46
...@@ -161,7 +161,7 @@ def colorizeTag(tag): ...@@ -161,7 +161,7 @@ def colorizeTag(tag):
color = '#0c4f0c'#dark green color = '#0c4f0c'#dark green
else: else:
color = 'blue' color = 'blue'
return "<div style='color: %s'>%s</div>" % (color, text, ) return "<span style='color: %s'>%s</span>" % (color, text, )
def colorize(text): def colorize(text):
"""Return HTML Code with syntax hightlighting """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