[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-11-03 07:26:21 +00:00 committed by GitHub
parent e07e730a09
commit 43c982cf8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -336,15 +336,15 @@ sptr< DataRequest > WebSiteDictionary::getArticle( wstring const & str,
result += string( "<div><span>this website dictionary is opened in the new tab</span></div>" );
}
else {
fmt::format_to( std::back_inserter( result ),
fmt::format_to( std::back_inserter( result ),
R"(<iframe id="gdexpandframe-{}" src="{}"
onmouseover="processIframeMouseOver('gdexpandframe-{}');"
onmouseout="processIframeMouseOut();" scrolling="no"
style="overflow:visible; width:100%; display:block; border:none;"
sandbox="allow-same-origin allow-scripts allow-popups"></iframe>)",
getId(),
encodeUrl.toStdString(),
getId() );
getId(),
encodeUrl.toStdString(),
getId() );
}
auto dr = std::make_shared< DataRequestInstant >( true );
dr->appendString( result );