Skip to content

Commit 0407053

Browse files
author
Richard Jones
committed
oops
1 parent 3cddd8e commit 0407053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/templating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ def is_view_ok(self):
10511051
class StringHTMLProperty(HTMLProperty):
10521052
hyper_re = re.compile(r'((?P<url>\w{3,6}://\S+)|'
10531053
r'(?P<email>[-+=%/\w\.]+@[\w\.\-]+)|'
1054-
r'(?P<item>(?P<class>[A-Za-z_]+)(\s*)?(?P<id>\d+)))')
1054+
r'(?P<item>(?P<class>[A-Za-z_]+)\s*(?P<id>\d+)))')
10551055
def _hyper_repl(self, match):
10561056
if match.group('url'):
10571057
s = match.group('url')

0 commit comments

Comments
 (0)