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

SF.net SVN: ledger-smb:[5863] trunk



Revision: 5863
          http://sourceforge.net/p/ledger-smb/code/5863
Author:   einhverfr
Date:     2013-05-24 09:10:51 +0000 (Fri, 24 May 2013)
Log Message:
-----------
Fix for 843, can't test in trunk due to other bugs, merging to branches/1.3 to validate

Modified Paths:
--------------
    trunk/Changelog
    trunk/LedgerSMB/Template/LaTeX.pm

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-05-23 13:00:46 UTC (rev 5862)
+++ trunk/Changelog	2013-05-24 09:10:51 UTC (rev 5863)
@@ -99,6 +99,7 @@
 * Fixed default_reportable not respected for invoices (Chris T, 799)
 * Fixed dropdowns not affecting date range in tax reports (Chris T, 811)
 * Added missing taxincluded handling, added script to populate (Chris T, 832)
+* Fixed code references stringified on LaTeX templates (Chris T, 843)
 
 Changelog for 1.3.32
 * Fixed em-dash handling for pdfs (Chris T)

Modified: trunk/LedgerSMB/Template/LaTeX.pm
===================================================================
--- trunk/LedgerSMB/Template/LaTeX.pm	2013-05-23 13:00:46 UTC (rev 5862)
+++ trunk/LedgerSMB/Template/LaTeX.pm	2013-05-24 09:10:51 UTC (rev 5863)
@@ -94,7 +94,7 @@
 			$vars = $rawvars;
 		}
 		#XXX Fix escaping
-		$vars = escape($vars);
+		$vars = escape($vars) unless $type eq 'CODE';
 	} else {
 		for ( keys %{$rawvars} ) {
 			$vars->{$_} = preprocess($rawvars->{$_});

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