fix:#8274 Don't escape HTML in manage users (#8275)

Perhaps the HTML for managing groups should ba actually rendered as HTML to serve its function. fixes #8274
v1.18.x
Opliko 5 years ago committed by GitHub
parent 0c7c70edaf
commit 4855f1deca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,7 @@ define('admin/manage/users', ['translator', 'benchpress', 'autocomplete'], funct
} }
Benchpress.parse('admin/partials/manage_user_groups', data, function (html) { Benchpress.parse('admin/partials/manage_user_groups', data, function (html) {
var modal = bootbox.dialog({ var modal = bootbox.dialog({
message: utils.escapeHTML(html), message: html,
title: '[[admin/manage/users:manage-groups]]', title: '[[admin/manage/users:manage-groups]]',
onEscape: true, onEscape: true,
}); });

Loading…
Cancel
Save