Koha/koha-tmpl/intranet-tmpl
Katrin Fischer b9d6b92ac1 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@bulac.fr>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-10-26 00:14:41 +01:00
..
js Bug 26445: Fix "back to result" link of the search result browser 2020-10-26 00:14:41 +01:00
lib Bug 25727: Upgrade the Select2 JS lib to version 4 2020-08-24 11:19:03 +02:00
prog Bug 26666: Fix line breaks in addresses displayed with AddressFormat French or German 2020-10-26 00:14:41 +01:00