[Xfce4-commits] <postler:master> Exclude < from automatic linkification

Christian Dywan noreply at xfce.org
Fri Dec 17 04:12:01 CET 2010


Updating branch refs/heads/master
         to 6a753159c9b374bbca7ae23acc19372954203378 (commit)
       from be6ea7d6117b460a95eda3565ea551ccaae3a62f (commit)

commit 6a753159c9b374bbca7ae23acc19372954203378
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Dec 17 03:40:22 2010 +0100

    Exclude < from automatic linkification
    
    Fixes: https://bugs.launchpad.net/postler/+bug/691020

 postler/postler-content.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 37365a2..1b1d397 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -341,7 +341,7 @@ public class Postler.Content : WebKit.WebView {
     }
 
     const string[] link_formats = {
-        "(https?:\\/\\/\\S+)",
+        "(https?:\\/\\/[^\\s\\<]+)",
         "([a-zA-Z0-9.\\-]+@[a-zA-Z0-9.\\-]+[a-zA-Z0-9.]+)"
     };
 



More information about the Xfce4-commits mailing list