mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Epwing: Fix full-text search for some CJK dictionaries (issue #1490)
This commit is contained in:
parent
b87b023db0
commit
f07ba75a5c
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue