diff --git a/src/article_maker.cc b/src/article_maker.cc index 2f019adb..6508bcba 100644 --- a/src/article_maker.cc +++ b/src/article_maker.cc @@ -707,40 +707,38 @@ void ArticleRequest::bodyFinished() bodyDone = true; - { - string footer; + string footer; - if ( closePrevSpan ) { - footer += ""; - closePrevSpan = false; - } - - if ( !foundAnyDefinitions ) { - // No definitions were ever found, say so to the user. - - // Larger words are usually whole sentences - don't clutter the output - // with their full bodies. - footer += ArticleMaker::makeNotFoundBody( word.size() < 40 ? word : "", group.name ); - - // When there were no definitions, we run stemmed search. - stemmedWordFinder = std::make_shared< WordFinder >( this ); - - connect( stemmedWordFinder.get(), - &WordFinder::finished, - this, - &ArticleRequest::stemmedSearchFinished, - Qt::QueuedConnection ); - - stemmedWordFinder->stemmedMatch( word, activeDicts ); - } - else { - footer += R"(
)"; - footer += "