Skip to content

Commit 70b2435

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 46424e6 commit 70b2435

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Fixed:
66
- reset ID counters if the database is cleared (thanks William)
77
- apply IE caching "fix" to automatically serve up all pages expired
88
- fix typo (sf patch 1076629)
9+
- fix hyperlinking of items (sf bug 1080251)
910

1011

1112
2004-10-26 0.7.9

roundup/cgi/templating.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,9 +1080,9 @@ def _hyper_repl(self, match):
10801080
cl = self._db.getclass(s1.lower())
10811081
if not cl.hasnode(s2):
10821082
raise KeyError, 'oops'
1083-
return '<a href="%s">%s%s</a>'%(s, s1, s2)
1083+
return '<a href="%s%s">%s</a>'%(s1, s2, s)
10841084
except KeyError:
1085-
return '%s%s'%(s1, s2)
1085+
return s
10861086

10871087
def hyperlinked(self):
10881088
''' Render a "hyperlinked" version of the text '''

0 commit comments

Comments
 (0)