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@lists.koha-community.org
          Reporter: bar...@bywatersolutions.com
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to