[Koha-bugs] [Bug 20685] New: Modify notice page for HOLD SLIP rendering incorrectly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 30 18:32:24 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20685

            Bug ID: 20685
           Summary: Modify notice page for HOLD SLIP rendering incorrectly
 Change sponsored?: ---
           Product: Koha
           Version: 17.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

When I 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&notext=1">

Then save, the final line of text renders as

<img
src="/cgi-bin/koha/svc/barcode?barcode=<<borrowers.cardnumber>>&type=Industrial2of5¬ext=1">

When I navigate back to the modify notice page for HOLD_SLIP.

The text is correct in letter.content.

I've replicated the issue in 17.05 and 17.11 using both firefox and chrome.

Note that simply pasting the last line of text into an existing notice doesn't
cause the display issue.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list