Commit 7bbb77c8 authored by Christophe Dumez's avatar Christophe Dumez

- more XHTML compliant

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7406 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2da6865
......@@ -243,7 +243,7 @@ def colorize(text):
# Colorize strings
pattern = re.compile(r'\".*?\"')
html = pattern.sub(colorizeTag, html)
html = html.replace(os.linesep, os.linesep+"<br>")
html = html.replace(os.linesep, os.linesep+"<br/>")
return html
class DiffFile:
......@@ -293,7 +293,7 @@ class DiffFile:
"""
# Adding header of the table
if self.binary:
return '<b>Folder or binary file or just no changes!</b><br><br><br>'
return '<b>Folder or binary file or just no changes!</b><br/><br/><br/>'
html_list = []
html_list.append('''
......
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