diff --git a/dictserver.cc b/dictserver.cc index d9344892..3dffeac0 100644 --- a/dictserver.cc +++ b/dictserver.cc @@ -774,7 +774,7 @@ void DictServerArticleRequest::run() link.replace( tags, " " ); link.replace( " ", " " ); articleText.replace( pos + 30, links.cap( 1 ).length(), - link.simplified() ); + QString::fromUtf8( QUrl::toPercentEncoding( link.simplified() ) ) ); pos += 30; }