Skip to content

Commit

Permalink
Epwing: Fix full-text search for some CJK dictionaries (issue #1490)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abs62 committed May 23, 2022
1 parent b87b023 commit f07ba75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions epwing_book.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,9 @@ void EpwingBook::getArticle( QString & headword, QString & articleText,
headword = QString::fromUtf8( buffer, length );
finalizeText( headword );

if( text_only )
fixHeadword( headword );

articleText = getText( pos.page, pos.offset, text_only );
}

Expand Down

0 comments on commit f07ba75

Please sign in to comment.