Update of /cvsroot/mhonarc/mhonarc/MHonArc/lib
In directory subversions:/tmp/cvs-serv30375

Modified Files:
        mhtxtplain.pl 
Log Message:
Replaced s/\n/<br\n>/g operation for fancyquote with simplier, more
efficient fix, to deal with lost-linebreak problem.


Index: mhtxtplain.pl
===================================================================
RCS file: /cvsroot/mhonarc/mhonarc/MHonArc/lib/mhtxtplain.pl,v
retrieving revision 2.35
retrieving revision 2.36
diff -C2 -r2.35 -r2.36
*** mhtxtplain.pl       19 Dec 2002 05:14:23 -0000      2.35
--- mhtxtplain.pl       31 Dec 2002 02:23:15 -0000      2.36
***************
*** 493,497 ****
                }
            } else {
!               $chunk =~ s/\n/<br\n>/g;
                $chunk = $startfixq . $chunk . $endfixq;
            }
--- 493,499 ----
                }
            } else {
!               # GUI browsers ignore first \n after <pre>, so we double it
!               # to make sure a blank line is rendered
!               $chunk =~ s/\A\n/\n\n/;
                $chunk = $startfixq . $chunk . $endfixq;
            }

---------------------------------------------------------------------
To sign-off this list, send email to [EMAIL PROTECTED] with the
message text UNSUBSCRIBE MHONARC-DEV

Reply via email to