mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
e07e730a09
commit
43c982cf8a
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue