# HG changeset patch # User lisaq # Date 2016-09-29 10:32:25 # Node ID aafa0b10a8583c040e0e5e70f8c9841961b3fe68 # Parent 36b5db0ca6bcce2ea9df910ee75c01259e716c46 ux: better tooltip for inline comment toggle 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