summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-01-12 13:56:56 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-01-12 13:56:56 (GMT)
commitfb37d1538de5f3559dd7b81ecd98aeb758400e63 (patch)
tree27c7acd3edd41b7dbc787d2b5124f4f09b17b918
parent09f108ec576f6c7a7a33d0a3cdec9478ad1c9627 (diff)
downloadorg-mode-fb37d1538de5f3559dd7b81ecd98aeb758400e63.zip
org-mode-fb37d1538de5f3559dd7b81ecd98aeb758400e63.tar.gz
htmlize.el (htmlize-create-auto-links): Fix link regexp
* htmlize.el (htmlize-create-auto-links): Fix link regexp. Thanks to Daniel Dehennin for reporting this.
-rw-r--r--contrib/lisp/htmlize.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/htmlize.el b/contrib/lisp/htmlize.el
index 14647b7..78e0387 100644
--- a/contrib/lisp/htmlize.el
+++ b/contrib/lisp/htmlize.el
@@ -819,7 +819,7 @@ This is used to protect mailto links without modifying their meaning."
(uri (concat "mailto:" (htmlize-despam-address address))))
(htmlize-make-link-overlay beg end uri)))
(goto-char (point-min))
- (while (re-search-forward "<\\(\\(URL:\\)?\\([a-zA-Z]+://[^;]+\\)\\)>"
+ (while (re-search-forward "<\\(\\(URL:\\)?\\([a-zA-Z]+://[^;>]+\\)\\)>"
nil t)
(htmlize-make-link-overlay
(match-beginning 0) (match-end 0) (match-string 3)))))