diff --git a/progit/templates/pull_request.html b/progit/templates/pull_request.html index 97b9ec1..86ad974 100644 --- a/progit/templates/pull_request.html +++ b/progit/templates/pull_request.html @@ -108,6 +108,7 @@ {% if diff %} {% for patch in diff %} +

{% if (patch.additions + patch.deletions) %} @@ -117,6 +118,7 @@ {% endif %} {{ patch.new_file_path }} +

{% autoescape false %} {{ patch | patch_to_diff | html_diff | format_loc( filename=patch.new_file_path, prequest=pull_request)}}