[Konversation-devel] [Bug 100820] html entities in topic instead of actual characters

John Tapsell john.tapsell at kdemail.net
Thu Jul 1 16:00:23 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=100820





--- Comment #3 from John Tapsell <john tapsell kdemail net>  2010-07-01 16:00:13 ---
commit 20b711922c9e761c1d3db91b2a9ce991088b92e9
Author: John Tapsell <john.tapsell at kdemail.net>
Date:   Fri Mar 4 16:12:38 2005 +0000

    Fix bug 100820, and fix the bug where if you type:  "hello &gt;"  then
press up, it will be turned into "hello >"

    BUG:100820

    svn path=/trunk/kdeextragear-2/konversation/; revision=394882

diff --git a/konversation/common.cpp b/konversation/common.cpp
index 81ba888..9257a9a 100644
--- a/konversation/common.cpp
+++ b/konversation/common.cpp
@@ -67,7 +67,7 @@ QString tagURLs(const QString& text, const QString& fromNick)
   pos = 0;
   urlLen =0;

-  QRegExp
urlPattern("((www\\.(?!\\.)|(fish|(f|ht)tp(|s))://)[\\d\\w\\./,\\':~\\?=&;#@\\-\\+\\%\\*\\{\\}]+)|"
+  QRegExp
urlPattern("((www\\.(?!\\.)|(fish|(f|ht)tp(|s))://)([\\d\\w\\./,\\':~\\?=;#@\\-\\+\\%\\*\\{\\}]|&amp;)+)|"
       "([-.\\d\\w]+@[-.\\d\\w]{2,}\\.[\\w]{2,})");
   urlPattern.setCaseSensitive(false);

diff --git a/konversation/ircinput.cpp b/konversation/ircinput.cpp
index 8059e70..27f1b21 100644
--- a/konversation/ircinput.cpp
+++ b/konversation/ircinput.cpp
@@ -33,7 +33,7 @@
 #include "ircview.h"

 #define MAXHISTORY 100
-#define RICHTEXT 1
+#define RICHTEXT 0

 IRCInput::IRCInput(QWidget* parent) : KTextEdit(parent)
 {

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list