Bug 13090

Summary: Using <<branches.opac_info>> in html notices gives wrong encoding in generated letters
Product: Koha Reporter: Sophie MEYNIEUX <sophie.meynieux>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Sophie MEYNIEUX 2014-10-15 17:31:28 UTC
branches.opac_info is text saved in html format.

Adding <<branches_opac_info>> in html notices (overdues for exemple) produces letters that are wrong encoded
Comment 1 Jonathan Druart 2015-04-01 09:00:12 UTC
Sophie,

Could you explain more precisely please?
I tried with unicode characters in the letter template and in the branches.opac_info => it works
I tried with diacritics (é) in the letter template and in the branches.opac_info => it displays "&eacute;" for the opac_info.
Same behavior for html and non-html letters.
Note that the &eacute; is contained in opac_info (because of mce).

Was it your issue?
Comment 2 Katrin Fischer 2020-01-06 12:20:19 UTC
Needs verifying, but what i suspect is that the HTML tags used in OPAC info might be displaying, because they get escaped (or were, this is an old bug report).
Comment 3 Katrin Fischer 2023-07-09 11:03:17 UTC
With TT you might be able to resolve this using raw. Untested.