Epwing: Fix full-text search for some CJK dictionaries (issue #1490)

This commit is contained in:
Abs62 2022-05-23 20:43:58 +03:00
parent b87b023db0
commit f07ba75a5c

View file

@ -1099,6 +1099,9 @@ void EpwingBook::getArticle( QString & headword, QString & articleText,
headword = QString::fromUtf8( buffer, length ); headword = QString::fromUtf8( buffer, length );
finalizeText( headword ); finalizeText( headword );
if( text_only )
fixHeadword( headword );
articleText = getText( pos.page, pos.offset, text_only ); articleText = getText( pos.page, pos.offset, text_only );
} }