[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4000] branches/1.3/LedgerSMB/Template/HTML.pm



Revision: 4000
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4000&view=rev
Author:   tshvr
Date:     2011-11-14 12:57:09 +0000 (Mon, 14 Nov 2011)
Log Message:
-----------
better syntax-look under gvim with escaped slash

Modified Paths:
--------------
    branches/1.3/LedgerSMB/Template/HTML.pm

Modified: branches/1.3/LedgerSMB/Template/HTML.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/HTML.pm	2011-11-14 12:50:51 UTC (rev 3999)
+++ branches/1.3/LedgerSMB/Template/HTML.pm	2011-11-14 12:57:09 UTC (rev 4000)
@@ -91,7 +91,7 @@
     my $vars = shift @_;
     if (defined $vars){
         $vars = escapeHTML($vars);
-        $vars =~ s|\n|<br />|gm;
+        $vars =~ s|\n|<br \/>|gm;#better syntax-look under gvim with escaped slash
         return $vars;
     }
     return undef;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.