Mercurial > p > roundup > code
comparison roundup/cgi/templating.py @ 6542:58bd05fbf350
Replace bad ref= attr with rel= on a tag in history.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 02 Dec 2021 23:15:17 -0500 |
| parents | 3ca8b6145167 |
| children | 21c7c2041a4b |
comparison
equal
deleted
inserted
replaced
| 6541:c8f3ec942e29 | 6542:58bd05fbf350 |
|---|---|
| 1279 cell.append(' <strike>%s</strike>,\n'%label) | 1279 cell.append(' <strike>%s</strike>,\n'%label) |
| 1280 # "flag" this is done .... euwww | 1280 # "flag" this is done .... euwww |
| 1281 label = None | 1281 label = None |
| 1282 if label is not None: | 1282 if label is not None: |
| 1283 if hrefable: | 1283 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, |
| 1285 args[k], label) | 1285 args[k], label) |
| 1286 else: | 1286 else: |
| 1287 old = label; | 1287 old = label; |
| 1288 cell.append('%s: %s' % (self._(k), old)) | 1288 cell.append('%s: %s' % (self._(k), old)) |
| 1289 if k in current and current[k] is not None: | 1289 if k in current and current[k] is not None: |
