[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 08:52:25 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26666

Séverine Queune <severine.queune at bulac.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #111819|0                           |1
        is obsolete|                            |

--- Comment #4 from Séverine Queune <severine.queune at bulac.fr> ---
Created attachment 111827
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111827&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>

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


More information about the Koha-bugs mailing list