From 8df958358c05af1918910c246ab57a1adac9211c Mon Sep 17 00:00:00 2001 From: kedder Date: Fri, 10 Jan 2003 12:09:33 +0000 Subject: [PATCH] better hyperlinking git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1433 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 3 +++ roundup/cgi/templating.py | 2 +- roundup/templates/classic/html/_generic.help | 2 +- roundup/templates/classic/html/issue.index | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index b3f355e..dfccac8 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,9 @@ This file contains the changes to the Roundup system over time. The entries are given with the most recent entry first. +2003-??-?? 0.6.0 (?) +- better hyperlinking + 2003-01-10 0.5.4 - key the templates cache off full path, not filename - implemented whole-database locking diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index d8ed0fc..8ffa328 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -735,7 +735,7 @@ class HTMLProperty: class StringHTMLProperty(HTMLProperty): url_re = re.compile(r'\w{3,6}://\S+') - email_re = re.compile(r'\w+@[\w\.\-]+') + email_re = re.compile(r'[\w\.]+@[\w\.\-]+') designator_re = re.compile(r'([a-z_]+)(\d+)') def _url_repl(self, match): s = match.group(0) diff --git a/roundup/templates/classic/html/_generic.help b/roundup/templates/classic/html/_generic.help index bced017..0197597 100644 --- a/roundup/templates/classic/html/_generic.help +++ b/roundup/templates/classic/html/_generic.help @@ -8,7 +8,7 @@ tal:define="props python:request.form['properties'].value.split(',')"> - + diff --git a/roundup/templates/classic/html/issue.index b/roundup/templates/classic/html/issue.index index 1c15ac4..4f3e7b8 100644 --- a/roundup/templates/classic/html/issue.index +++ b/roundup/templates/classic/html/issue.index @@ -37,7 +37,7 @@ You are not allowed to view this page. title + tal:content="python:str(i.title.plain(hyperlink=0)) or '[no title]'">title -- 2.30.2