Bug 13090 - Using <<branches.opac_info>> in html notices gives wrong encoding in generated letters
Summary: Using <<branches.opac_info>> in html notices gives wrong encoding in generate...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 17:31 UTC by Sophie MEYNIEUX
Modified: 2023-07-09 11:03 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.