diff --git a/article_maker.cc b/article_maker.cc index a7d8e598..1f5b5794 100644 --- a/article_maker.cc +++ b/article_maker.cc @@ -623,7 +623,7 @@ void ArticleRequest::bodyFinished() if ( closePrevSpan ) { - head += "
"; + head += "
"; } else { @@ -675,7 +675,7 @@ void ArticleRequest::bodyFinished() "if ( !gdArticleContents ) gdArticleContents = \"" + jsVal +" \"; " "else gdArticleContents += \"" + jsVal + " \";"; - head += string( ""; - head += "getLangFrom() ).toLatin1().data(); head += "\" lang=\""; head += LangCoder::intToCode2( activeDict->getLangTo() ).toLatin1().data(); @@ -762,7 +762,7 @@ void ArticleRequest::bodyFinished() if ( closePrevSpan ) { - footer += ""; + footer += ""; closePrevSpan = false; } diff --git a/dsl.cc b/dsl.cc index dde84cbc..c9433c36 100644 --- a/dsl.cc +++ b/dsl.cc @@ -814,7 +814,7 @@ string DslDictionary::nodeToHtml( ArticleDom::Node const & node ) string id = "O" + getId().substr( 0, 7 ) + "_" + QString::number( articleNom ).toStdString() + "_opt_" + QString::number( optionalPartNom++ ).toStdString(); - result += "
" + processNodeChildren( node ) + "
"; + result += "" + processNodeChildren( node ) + ""; } else if ( node.tagName == GD_NATIVE_TO_WS( L"m" ) ) @@ -1662,7 +1662,7 @@ void DslArticleRequest::run() if( displayedHeadword.empty() || isDslWs( displayedHeadword[ 0 ] ) ) displayedHeadword = word; // Special case - insided card - articleText += ""; + articleText += "
"; articleText += "
"; + string result = "
"; multimap< wstring, pair< string, string > >::const_iterator i; @@ -629,7 +629,7 @@ void EpwingArticleRequest::run() result += i->second.second; } - result += ""; + result += "
"; Mutex::Lock _( dataMutex ); diff --git a/gls.cc b/gls.cc index 626dfa2b..d9bd731e 100644 --- a/gls.cc +++ b/gls.cc @@ -794,13 +794,13 @@ void GlsDictionary::loadArticle( uint32_t address, } if( isToLanguageRTL() ) - article += ""; + article += "
"; QString text = QString::fromUtf8( articleBody.c_str(), articleBody.size() ); article += filterResource( text ); if( isToLanguageRTL() ) - article += ""; + article += "
"; article +="
"; diff --git a/stardict.cc b/stardict.cc index d76fefc5..9c1532ce 100644 --- a/stardict.cc +++ b/stardict.cc @@ -1296,11 +1296,11 @@ void StardictArticleRequest::run() result += i->second.first; result += ""; if( dict.isToLanguageRTL() ) - result += ""; + result += "
"; result += i->second.second; result += cleaner; if( dict.isToLanguageRTL() ) - result += ""; + result += "
"; } for( i = alternateArticles.begin(); i != alternateArticles.end(); ++i ) @@ -1309,11 +1309,11 @@ void StardictArticleRequest::run() result += i->second.first; result += ""; if( dict.isToLanguageRTL() ) - result += ""; + result += "
"; result += i->second.second; result += cleaner; if( dict.isToLanguageRTL() ) - result += ""; + result += "
"; } Mutex::Lock _( dataMutex );