The fix is quite simple:
diff --git a/openstack_dashboard/dashboards/identity/mappings/tables.py b/openstack_dashboard/dashboards/identity/mappings/tables.py index df6e8f3..b8c7154 100644 --- a/openstack_dashboard/dashboards/identity/mappings/tables.py +++ b/openstack_dashboard/dashboards/identity/mappings/tables.py @@ -75,7 +75,7 @@ def get_rules_as_json(mapping): rules = getattr(mapping, 'rules', None) if rules: rules = json.dumps(rules, indent=4) - return safestring.mark_safe(rules) + return rules
class MappingsTable(tables.DataTable):
The fix is quite simple:
diff --git a/openstack_ dashboard/ dashboards/ identity/ mappings/ tables. py b/openstack_ dashboard/ dashboards/ identity/ mappings/ tables. py dashboard/ dashboards/ identity/ mappings/ tables. py dashboard/ dashboards/ identity/ mappings/ tables. py as_json( mapping) : mark_safe( rules)
index df6e8f3..b8c7154 100644
--- a/openstack_
+++ b/openstack_
@@ -75,7 +75,7 @@ def get_rules_
rules = getattr(mapping, 'rules', None)
if rules:
rules = json.dumps(rules, indent=4)
- return safestring.
+ return rules
class MappingsTable( tables. DataTable) :