r15293 - meta/scripts - better version of timestamp anchors/links.
    Joshua Sled 
    jsled at cvs.gnucash.org
       
    Mon Jan  1 12:00:59 EST 2007
    
    
  
Author: jsled
Date: 2007-01-01 12:00:58 -0500 (Mon, 01 Jan 2007)
New Revision: 15293
Trac: http://svn.gnucash.org/trac/changeset/15293
Modified:
   meta/scripts/irc_log_htmlizer.py
Log:
better version of timestamp anchors/links.
Modified: meta/scripts/irc_log_htmlizer.py
===================================================================
--- meta/scripts/irc_log_htmlizer.py	2007-01-01 16:47:32 UTC (rev 15292)
+++ meta/scripts/irc_log_htmlizer.py	2007-01-01 17:00:58 UTC (rev 15293)
@@ -80,7 +80,7 @@
 
     def write(self, date, time, stmt):
         # @fixme detect, link-ify URLs in lines
-        html_line = '''<a name="T%(time)s">%(time)s</a> %(escaped_text)s<br />\n''' \
+        html_line = '''<a id="T%(time)s" href="#T%(time)s">%(time)s</a> %(escaped_text)s<br />\n''' \
                     % {'time': time, 'escaped_text': cgi.escape(stmt)}
         self._f.seek(self._pos)
         self._f.write(html_line)
    
    
More information about the gnucash-changes
mailing list