mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 09:31:17 +01:00
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
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user