[Koha-bugs] [Bug 9372] Automatic carriage return in message_queue where content_type is html
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 2 18:03:17 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9372
--- Comment #11 from Sophie MEYNIEUX <sophie.meynieux at biblibre.com> ---
Created attachment 20062
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20062&action=edit
Bug 9372 : Replaces carriage return with <br /> in printed html files for
overdues.
For pdf generation, html files need explicit <br /> html tags. With this patch,
carriage return are replaced by <br /> when letters are written into html
files.
Test plan :
- Ensure you've got at least one reader with overdue triggering notice
- Ensure that your notice template got html checked
- Run misc/cronjobs/overdue_notices.pl -v -n -html <dirname>
and misc/cronjobs/printoverdues.sh <dirname>
Without patch, the content of the letter is all on one line in pdf file
With the patch, pdf file is correctly formated
- remove your reader email
- Run misc/cronjobs/overdue_notices.pl -v -html <dirname>
and misc/cronjobs/printoverdues.sh <dirname>
Without patch, the content of pdf file is all on one line
with the patch, pdf file is correctly formated.
- restore reader email
- run misc/cronjobs/overdue_notice.pl -v -html <dirname>
Verify that the a message has been generated in message_queue table
With or without patch, the message is the same
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list