diff --git a/share/html/Widgets/TitleBox b/share/html/Widgets/TitleBox index a36ac06ced..8950fd7652 100644 --- a/share/html/Widgets/TitleBox +++ b/share/html/Widgets/TitleBox @@ -101,7 +101,8 @@ elsif ( my $name = $m->notes('HTMXLoadComponent') ) { $htmx_get = RT->Config->Get('WebPath') . '/Views/Component/' . $name . '?From=' . RT->Config->Get('WebPath') . $m->request_path; } -$content = $m->content unless $htmx_load; +$content = $m->content + unless $htmx_load && ( RT::Interface::Web::RequestENV('HTTP_USER_AGENT') // '' ) !~ /WWW-Mechanize/; $m->callback( CallbackName => "ModifyContent", ARGSRef => \%ARGS, Content => \$content, Class => \$class, HideEmpty => \$hide_empty, HideChrome => \$hide_chrome );