Skip to content
Snippets Groups Projects
Commit d3a56dd9 authored by Dan Braghis's avatar Dan Braghis
Browse files

Wrapp diffs in span

parent bc5e90e7
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ from django.utils.text import mark_safe ...@@ -8,7 +8,7 @@ from django.utils.text import mark_safe
def wrap_with_span(text, class_name): 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): def wrap_deleted(text):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment