Dict servers: Fix handling of some links

This commit is contained in:
Abs62 2016-04-09 10:52:03 +03:00
parent 032f5c8337
commit 5ff9838732

View file

@ -774,7 +774,7 @@ void DictServerArticleRequest::run()
link.replace( tags, " " ); link.replace( tags, " " );
link.replace( " ", " " ); link.replace( " ", " " );
articleText.replace( pos + 30, links.cap( 1 ).length(), articleText.replace( pos + 30, links.cap( 1 ).length(),
link.simplified() ); QString::fromUtf8( QUrl::toPercentEncoding( link.simplified() ) ) );
pos += 30; pos += 30;
} }