mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Fix to never double escape HTML in display
This commit is contained in:
@@ -2804,8 +2804,8 @@ if (defined(&theme_ui_details)) {
|
||||
|
||||
my $rv;
|
||||
if (!$c->{'html'}) {
|
||||
$c->{'title'} = &html_escape($c->{'title'});
|
||||
$c->{'content'} = &html_escape($c->{'content'});
|
||||
$c->{'title'} = &html_escape($c->{'title'}, 1);
|
||||
$c->{'content'} = &html_escape($c->{'content'}, 1);
|
||||
}
|
||||
$c->{'class'} = " class=\"@{["e_escape($c->{'class'})]}\"" if($c->{'class'});
|
||||
$o = ' open' if ($o);
|
||||
|
||||
Reference in New Issue
Block a user