[evolution/gnome-3-28] Bug 795108 - Trailing bracket not stripped when linkifying URL inside angle brackets
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-28] Bug 795108 - Trailing bracket not stripped when linkifying URL inside angle brackets
- Date: Tue, 10 Apr 2018 14:08:03 +0000 (UTC)
commit 53b25e57ba7a734cc30d1387fd3400fd7a09b6cf
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 10 16:08:28 2018 +0200
Bug 795108 - Trailing bracket not stripped when linkifying URL inside angle brackets
.../web-extension/e-editor-dom-functions.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.h
b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.h
index 071c48e..4191d2c 100644
--- a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.h
+++ b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.h
@@ -31,7 +31,7 @@
#define URL_PATTERN "((?:(?:(?:" URL_PROTOCOLS ")\\:\\/\\/)|(?:www\\.|ftp\\.))[^\\s\\/\\$\\.\\?#].[^\\s]*+)"
#define URL_PATTERN_SPACE URL_PATTERN "\\s$"
/* Taken from camel-url-scanner.c */
-#define URL_INVALID_TRAILING_CHARS ",.:;?!-|}])\""
+#define URL_INVALID_TRAILING_CHARS ",.:;?!-|}])\">"
/* http://www.w3.org/TR/html5/forms.html#valid-e-mail-address */
#define E_MAIL_PATTERN \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]