Fix to never double escape HTML in display

This commit is contained in:
Ilia Ross
2023-10-04 00:51:49 +03:00
parent 2c325b1ee4
commit 5114308d0d

View File

@@ -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=\"@{[&quote_escape($c->{'class'})]}\"" if($c->{'class'});
$o = ' open' if ($o);