Skip to content

Commit 60b1146

Browse files
committed
Don't mark the translatable string 'None' as safe
1 parent e4c0a9f commit 60b1146

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wagtail/admin/compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def htmldiff(self):
321321
if obj_a:
322322
return escape(force_str(obj_a))
323323
else:
324-
return mark_safe(_("None"))
324+
return _("None")
325325

326326

327327
class ChildRelationComparison:

0 commit comments

Comments
 (0)