kopia lustrzana https://github.com/wagtail/wagtail
Don't mark the translatable string 'None' as safe
rodzic
b5aef74801
commit
2223d6b232
|
@ -328,7 +328,7 @@ class ForeignObjectComparison(FieldComparison):
|
|||
if obj_a:
|
||||
return escape(force_str(obj_a))
|
||||
else:
|
||||
return mark_safe(_("None"))
|
||||
return _("None")
|
||||
|
||||
|
||||
class ChildRelationComparison:
|
||||
|
|
Ładowanie…
Reference in New Issue