[Koha-bugs] [Bug 20685] Modify notice page for HOLD SLIP rendering incorrectly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 3 22:20:35 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20685
Barton Chittenden <barton at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #75022|0 |1
is obsolete| |
--- Comment #2 from Barton Chittenden <barton at bywatersolutions.com> ---
Created attachment 75039
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75039&action=edit
Bug 20685: Escape letter template content in textarea
Test plan:
enter the following text into the Email template for 'HOLD_SLIP'
in Home › Tools › Notices & Slips › Modify notice
<div style='max-width: 4in;'>
<h3><<borrowers.surname>>, <<borrowers.firstname>></h3><br />
<<borrowers.streetnumber>> <<borrowers.address>><br />
<<borrowers.address2>><br />
<<borrowers.city>>, <<borrowers.state>> <<borrowers.zipcode>><br />
<br />
<br />
<img
src="/cgi-bin/koha/svc/barcode?barcode=<<borrowers.cardnumber>>&type=Industrial2of5¬ext=1">
Edit it again
Without this patch you will get:
<img
src="/cgi-bin/koha/svc/barcode?barcode=<<borrowers.cardnumber>>&type=Industrial2of5¬ext=1">
Signed-off-by: Barton Chittenden <barton at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list