diff --git a/rhodecode/lib/diffs.py b/rhodecode/lib/diffs.py --- a/rhodecode/lib/diffs.py +++ b/rhodecode/lib/diffs.py @@ -699,7 +699,7 @@ class DiffProcessor(object): if enable_comments and change['action'] != Action.CONTEXT: _html.append('''''') - _html.append('''\n''') + _html.append('''\n''') ########################################################### # OLD LINE NUMBER diff --git a/rhodecode/tests/lib/test_diffs.py b/rhodecode/tests/lib/test_diffs.py --- a/rhodecode/tests/lib/test_diffs.py +++ b/rhodecode/tests/lib/test_diffs.py @@ -76,7 +76,7 @@ def test_diffprocessor_as_html_with_comm expected_html = textwrap.dedent(''' - + - + - + - + - + - + - + - + - +
... ... @@ -85,7 +85,7 @@ def test_diffprocessor_as_html_with_comm
2
3
4
5
6
7
8