fix: dictd's description display (00databaseinfo)

This commit is contained in:
shenleban tongying 2024-10-06 17:11:56 -04:00
parent 1c2f93e393
commit 997f24d62f

View file

@ -426,8 +426,7 @@ QString const & DictdDictionary::getDescription()
sptr< Dictionary::DataRequest > req = getArticle( U"00databaseinfo", vector< wstring >(), wstring(), false ); sptr< Dictionary::DataRequest > req = getArticle( U"00databaseinfo", vector< wstring >(), wstring(), false );
if ( req->dataSize() > 0 ) { if ( req->dataSize() > 0 ) {
dictionaryDescription = Html::unescape( QString::fromUtf8( req->getFullData().data(), req->getFullData().size() ), dictionaryDescription = QString::fromUtf8( req->getFullData().data(), req->getFullData().size() );
Html::HtmlOption::Keep );
} }
else { else {
dictionaryDescription = "NONE"; dictionaryDescription = "NONE";