From 5ff98387329183420cc09b896ecc427d3cd75ef6 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Sat, 9 Apr 2016 10:52:03 +0300 Subject: [PATCH] Dict servers: Fix handling of some links --- dictserver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }