[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:18:51 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=4dc6988
The following commit has been merged in the master branch:
commit 4dc6988325d025df60d4d8fdb6eb497891c3ce81
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Fri Feb 11 20:58:03 2011 +0000
escape backslashes in HTML
---
lib/adiumthememessageinfo.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/adiumthememessageinfo.cpp b/lib/adiumthememessageinfo.cpp
index a1a309d..f95b058 100644
--- a/lib/adiumthememessageinfo.cpp
+++ b/lib/adiumthememessageinfo.cpp
@@ -66,6 +66,7 @@ QString AdiumThemeMessageInfo::message() const
{
QString htmlMessage= Qt::escape(d->message);
htmlMessage.replace('
', "<br/>");
+ htmlMessage.replace('\', "\\"); //replace a single backslash with two backslashes.
return htmlMessage;
}
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list