Skip to content

Commit 03f93af

Browse files
committed
Replace bad ref= attr with rel= on a tag in history.
1 parent 1dafa29 commit 03f93af

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
@@ -1281,7 +1281,7 @@ def history(self, direction='descending', dre=re.compile(r'^\d+$'),
12811281
label = None
12821282
if label is not None:
12831283
if hrefable:
1284-
old = '<a ref="nofollow noopener" href="%s%s">%s</a>'%(classname,
1284+
old = '<a rel="nofollow noopener" href="%s%s">%s</a>'%(classname,
12851285
args[k], label)
12861286
else:
12871287
old = label;

0 commit comments

Comments
 (0)