Bug 12294 : Cancel replacing carriage return on notices
authorSophie Meynieux <sophie.meynieux@biblibre.com>
Tue, 20 May 2014 15:35:00 +0000 (17:35 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sat, 26 Jul 2014 15:15:21 +0000 (12:15 -0300)
commitfd90d097becad854ba556d6539c6e25126fe8264
treea38ca5a0ac436de664e94991a3087d3b96796072
parentb045c79b4abcc8f2cfebac0f72d8496fd34fb3ab
Bug 12294 : Cancel replacing carriage return on notices

Cancel replacing carriage return with <br /> in printed html file as <br /> is needed in model for email notices when html format is checked

Test plan :
* define an OVERDUE notice with html activated, with <br /> at each end of line
* make sur you've got some borrowers with overdues meeting your notices triggering rules (some with valid email and others without)
* run overdue_notices.pl -html to generate html files for borrowers without email

Without patch
* email notifications are correctly formated as html content, with one <br /> at each end of line
* in html file, <br /> is duplicated at each end of line

With patch
* nothing changes for email notification
* html file is correctly formatted with only one <br /> at each end of line

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Copied test plan from comment.
No errors

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
misc/cronjobs/overdue_notices.pl