diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -85,7 +85,7 @@ def html_escape(s): .replace(">", ">") .replace("<", "<") .replace('"', """) - .replace("'", "'") + .replace("'", "'") # some mail readers use HTML 4 and doesn't support ' ) def js(value): diff --git a/kallithea/tests/models/test_dump_html_mails.ref.html b/kallithea/tests/models/test_dump_html_mails.ref.html --- a/kallithea/tests/models/test_dump_html_mails.ref.html +++ b/kallithea/tests/models/test_dump_html_mails.ref.html @@ -94,7 +94,7 @@ View Comment: http://comment.org -
This is the new 'comment'.

- and here it ends indented.
+
This is the new 'comment'.

- and here it ends indented.
@@ -253,7 +253,7 @@ View Comment: http://comment.org -
This is the new 'comment'.

- and here it ends indented.
+
This is the new 'comment'.

- and here it ends indented.
@@ -430,7 +430,7 @@ View Comment: http://comment.org -
This is the new 'comment'.

- and here it ends indented.
+
This is the new 'comment'.

- and here it ends indented.
@@ -607,7 +607,7 @@ View Comment: http://comment.org -
This is the new 'comment'.

- and here it ends indented.
+
This is the new 'comment'.

- and here it ends indented.
@@ -728,7 +728,7 @@ Subject: Test Message - +
This is the 'body' of the "test" message
- nothing interesting here except indentation.
This is the 'body' of the "test" message
- nothing interesting here except indentation.
@@ -987,7 +987,7 @@ View Pull Request: http://pr.org/7 -
This PR is 'awesome' because it does <stuff>
- please approve indented!
+
This PR is 'awesome' because it does <stuff>
- please approve indented!
@@ -1162,7 +1162,7 @@ View Pull Request: http://pr.org/7 -
This PR is 'awesome' because it does <stuff>
- please approve indented!
+
This PR is 'awesome' because it does <stuff>
- please approve indented!