diff --git a/sapl/crispy_layout_mixin.py b/sapl/crispy_layout_mixin.py index 9b2f0867b..12a876b12 100644 --- a/sapl/crispy_layout_mixin.py +++ b/sapl/crispy_layout_mixin.py @@ -132,8 +132,6 @@ def get_field_display(obj, fieldname): value._meta.app_config.name, obj.content_type.model), args=(value.id,)), value) - elif 'TextField' in str_type_from_field: - display = value.replace('\n', '
') else: display = str(value) return verbose_name, display