[Koha-bugs] [Bug 26666] Display issue with adress information
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 16 09:57:38 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26666
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #111827|0 |1
is obsolete| |
--- Comment #6 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 111830
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111830&action=edit
Bug 26666: Fix line breaks in addresses displayed with AddressFormat French or
German
When Addressformat is set to French or German the addresses on the Details
tab will display <br /> in plain text. This is because a TT variable is used
for adding line breaks that is either set to <br /> or "". Then this variable
is
escaped with the html filter... so we see the HTML tag uninterpreted.
Switching to $raw for this specific case.
To test:
- Go to any patron account,
- Fill in the various address fields
- Switch the AddressFormat system preference to different settings
- Verify the false display for French and German on the Details tab and
in the brief info on the left side in the patron account
- Apply patch
- Repeat testing
- All AddressFormats should now display correctly
Signed-off-by: Séverine QUEUNE <severine.queune at bulac.fr>
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list