aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-01-09 21:37:51 +0100
committerMarvin W <git@larma.de>2020-01-15 19:31:47 +0100
commit60d735fc7d9884f25f95359717af03b27903146c (patch)
tree9c4545c05aafd60a98af7daae7a305c5fc5eb88d
parentab4ca27b1ec43b4dd58938218f1cfceaa9194aff (diff)
downloaddino-60d735fc7d9884f25f95359717af03b27903146c.tar.gz
dino-60d735fc7d9884f25f95359717af03b27903146c.zip
Add more non-trailing chars for urls
-rw-r--r--main/src/ui/util/helper.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala
index c332dcfb..0f0e6e7b 100644
--- a/main/src/ui/util/helper.vala
+++ b/main/src/ui/util/helper.vala
@@ -8,7 +8,7 @@ namespace Dino.Ui.Util {
private static Regex URL_REGEX;
private static Map<unichar, unichar> MATCHING_CHARS;
-private const unichar[] NON_TRAILING_CHARS = {'\'', '"', ',', '.', ';', '!', '?', '»', '”', '’', '`', '~', '‽'};
+private const unichar[] NON_TRAILING_CHARS = {'\'', '"', ',', '.', ';', '!', '?', '»', '”', '’', '`', '~', '‽', ':', '>', '*', '_'};
private const string[] ALLOWED_SCHEMAS = {"http", "https", "ftp", "ftps", "irc", "ircs", "xmpp", "mailto", "sms", "smsto", "mms", "tel", "geo", "openpgp4fpr", "im", "news", "nntp", "sip", "ssh", "bitcoin", "sftp", "magnet", "vnc"};
private const string[] tango_colors_light = {"FCE94F", "FCAF3E", "E9B96E", "8AE234", "729FCF", "AD7FA8", "EF2929"};
private const string[] tango_colors_medium = {"EDD400", "F57900", "C17D11", "73D216", "3465A4", "75507B", "CC0000"};