From d3a56dd974cf8a30810ec7826e695b6463ebb69f Mon Sep 17 00:00:00 2001 From: Dan Braghis <dan.braghis@torchbox.com> Date: Fri, 22 Jun 2018 16:45:19 +0100 Subject: [PATCH] Wrapp diffs in span --- opentech/apply/funds/differ.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentech/apply/funds/differ.py b/opentech/apply/funds/differ.py index 98552b4fa..cb4ac2cf2 100644 --- a/opentech/apply/funds/differ.py +++ b/opentech/apply/funds/differ.py @@ -8,7 +8,7 @@ from django.utils.text import mark_safe def wrap_with_span(text, class_name): - return format_html('<div class="diff diff__{}">{}</div>', class_name, mark_safe(text)) + return format_html('<span class="diff diff__{}">{}</span>', class_name, mark_safe(text)) def wrap_deleted(text): -- GitLab