mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
Merge pull request #1699 from xiaoyifang/fix/stardict-crash
fix: stardict crash
This commit is contained in:
commit
3299596746
|
@ -545,7 +545,7 @@ string StardictDictionary::handleResource( char type, char const * resource, siz
|
||||||
articleNewText.clear();
|
articleNewText.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
return ( articleText.toUtf8().data() );
|
return articleText.toStdString();
|
||||||
}
|
}
|
||||||
case 'm': // Pure meaning, usually means preformatted text
|
case 'm': // Pure meaning, usually means preformatted text
|
||||||
return "<div class=\"sdct_m\">" + Html::preformat( string( resource, size ), isToLanguageRTL() ) + "</div>";
|
return "<div class=\"sdct_m\">" + Html::preformat( string( resource, size ), isToLanguageRTL() ) + "</div>";
|
||||||
|
|
Loading…
Reference in a new issue