Add ' to urlChars. Fixes #626
authorSebastian Goth <seezer@roath.org>
Sat, 14 Mar 2009 23:13:56 +0000 (00:13 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 15 Mar 2009 16:08:45 +0000 (17:08 +0100)
src/qtui/chatitem.cpp

index 934fadf..dd23c5c 100644 (file)
@@ -413,7 +413,7 @@ void ContentsChatItem::doLayout(QTextLayout *layout) const {
 QList<ContentsChatItem::Clickable> ContentsChatItem::findClickables() const {
   // For matching URLs
   static QString urlEnd("(?:>|[,.;:\"]*\\s|\\b|$)");
-  static QString urlChars("(?:[,.;:]*[\\w\\-~@/?&=+$()!%#*|{}\\[\\]])");
+  static QString urlChars("(?:[,.;:]*[\\w\\-~@/?&=+$()!%#*|{}\\[\\]'])");
 
   static QRegExp regExp[] = {
     // URL