From 685975aef4be4bbafe50ed853010e4f81be1584c Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Tue, 26 Jan 2016 12:34:14 -0800 Subject: [PATCH] Make timestamps link to their own anchors This is similar to the line-number links in cgit, or the timestamp links in os-loganalyze. Change-Id: I45494010f88614a36d1e87a4f55eb3f28ee87836 --- ircmeeting/writers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ircmeeting/writers.py b/ircmeeting/writers.py index 6eed012..f214ea5 100644 --- a/ircmeeting/writers.py +++ b/ircmeeting/writers.py @@ -451,8 +451,8 @@ class HTMLlog2(_BaseWriter, _CSSmanager): (html(m2.group(1)),html(m2.group(2)))) if m2 is None: outline = html(line) - lines.append('' - '%(time)s' + lines.append('' + '%(time)s' '%(nick)s ' '%(line)s'%{'lineno':lineNumber, 'time':html(m.group('time')), @@ -462,8 +462,8 @@ class HTMLlog2(_BaseWriter, _CSSmanager): m = action_re.match(l) # is it a action line? if m is not None: - lines.append('' - '%(time)s' + lines.append('' + '%(time)s' '%(nick)s ' '%(line)s'% {'lineno':lineNumber,