[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:21:43 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=0935e19

The following commit has been merged in the master branch:
commit 0935e19ba4e43414fea91d1378ff1e2c49ba73f2
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Mon Apr 2 15:09:47 2012 +0200

    Fix duplicated '\' character in messages
---
 lib/adium-theme-view.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/adium-theme-view.cpp b/lib/adium-theme-view.cpp
index 9de4970..441e513 100644
--- a/lib/adium-theme-view.cpp
+++ b/lib/adium-theme-view.cpp
@@ -464,8 +464,7 @@ AdiumThemeView::AppendMode AdiumThemeView::appendMode(const AdiumThemeMessageInf
 
 void AdiumThemeView::appendMessage(QString &html, AppendMode mode)
 {
-    QString js = appendScript(mode).arg(html.replace(QLatin1Char('\'), QLatin1String("\\"))
-                                            .replace(QLatin1Char('\"'), QLatin1String("\\""))
+    QString js = appendScript(mode).arg(html.replace(QLatin1Char('\"'), QLatin1String("\\""))
                                             .replace(QLatin1Char('
'), QLatin1String(""))
                                             .replace(QLatin1Char('
'), QLatin1String("<br>")));
     page()->mainFrame()->evaluateJavaScript(js);

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list