[Koha-bugs] [Bug 11290] members-home.pl displays badly if using non english templates and have a utf8 char in categorycode description

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 25 17:56:06 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11290

--- Comment #9 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
As an experiment I replaced ref() calls in C4/Templates.pm with reftype() from
Scalar::Util package; objects/blessed hashrefs are now processed by output().
But it has an unexepected side effect - in every place html_entity filter is
being used (we have 3 such places in koha-tmpl/.../intranet/ ) encoding of
filtered part now seems to be broken (removing html_entity filter from
templates, or replacing it with html filter fixes it). Or perhaps I'm missing
something here, and such side efect is acutally being expected (?).

BTW, html_entity filter is also used in modules/pay.tt - and encoding of this
part ([% line.title |html_entity %] ) indeed seems to be broken (same symptoms
in unpatched 3.12.4 version too, not just in master/3.15 with patched or
unpatched Templates.pm). Does anyone remeber when and way was is added there?

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


More information about the Koha-bugs mailing list