File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
admin_ui_support/src/Plugin/rest/resource Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ public function get() {
105
105
$ permissions = $ this ->permissionHandler ->getPermissions ();
106
106
foreach ($ permissions as $ id => $ permission ) {
107
107
$ permissions [$ id ]['id ' ] = $ id ;
108
- // @todo Should HTML be exposed ? https://github.com/jsdrupal/drupal-admin-ui/issues/18
109
- $ permissions [$ id ]['title ' ] = PlainTextOutput:: renderFromHtml ( $ permission ['title ' ]) ;
110
- $ permissions [$ id ]['description ' ] = PlainTextOutput:: renderFromHtml ( $ permission ['description ' ]) ;
108
+ // @todo Should HTML tags be limited ? https://github.com/jsdrupal/drupal-admin-ui/issues/18
109
+ $ permissions [$ id ]['title ' ] = $ permission ['title ' ];
110
+ $ permissions [$ id ]['description ' ] = $ permission ['description ' ];
111
111
$ permissions [$ id ]['provider_label ' ] = $ this ->moduleExtensionList ->getName ($ permissions [$ id ]['provider ' ]);
112
112
};
113
113
return array_values ($ permissions );
You can’t perform that action at this time.
0 commit comments