The attached simple patch seems to fix the display of quoted text in
the web version of the list archives.  Of course, setting SHOWBR is
mostly a matter of taste.  However, making the addition fo <br>'s in
the quoted text depend on whether or not SHOWHTML is set looks a bit
fishy to me.

WK: You may wish to re-create your HTML archives. ;-)

-- 
Thomas Roessler                     <[EMAIL PROTECTED]>
--- HyperArch.py.bak    Fri Jan 26 13:16:05 2001
+++ HyperArch.py        Fri Jan 26 13:16:20 2001
@@ -566,7 +566,7 @@
     ALLOWHTML = 1             # "Lines between <html></html>" handled as is.
     SHOWHTML = 0              # Eg, nuke leading whitespace in html manner.
     IQUOTES = 1               # Italicize quoted text.
-    SHOWBR = 0                # Add <br> onto every line
+    SHOWBR = 1                # Add <br> onto every line
 
     def __init__(self, maillist, unlock=1):
         # can't init the database while other processes are writing to it!
@@ -1021,7 +1021,7 @@
                    quoted = quoted.end(0)
                    prefix=CGIescape(L[:quoted]) + '<i>' 
                    suffix='</I>'
-                   if self.SHOWHTML:
+                   if self.SHOWBR:
                         suffix=suffix+'<BR>'
                         if not last_line_was_quoted:
                             prefix='<BR>'+prefix

Reply via email to