diff --git a/content.py b/content.py index be1a07503..f6634c1fc 100644 --- a/content.py +++ b/content.py @@ -1500,6 +1500,6 @@ def create_edits_html(edits_json: {}, post_json_object: {}, content = prev_content if not edits_str: return '' - return '' + \ + return '' + \ translate['SHOW EDITS'] + '' + \ edits_str + '' diff --git a/tests.py b/tests.py index 6eacaa61f..9e8f9fdec 100644 --- a/tests.py +++ b/tests.py @@ -6982,7 +6982,7 @@ def _test_diff_content() -> None: create_edits_html(edits_json, post_json_object, translate, timezone) assert html_str expected = \ - 'SHOW EDITS' + \ + 'SHOW EDITS' + \ 'Mon Dec 14, 01:07' + \ '+ This is some content' + \ '- This is some previous content' + \
Mon Dec 14, 01:07
' + \ '+ This is some content' + \ '- This is some previous content' + \