]> git.koha-community.org Git - koha.git/commit
Bug 14703: Holidays description shows \r\n for every new line
authorJoonas Kylmälä <j.kylmala@gmail.com>
Tue, 25 Aug 2015 07:24:54 +0000 (07:24 +0000)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 22 Sep 2015 01:17:51 +0000 (13:17 +1200)
commit5d3e837a5dff36afb24b76d518e745283d1b2086
tree2491c7b9676c143cb057898f1dc2d5bdc725ba84
parent2a9d47ea610081e6d1dda9dbbbdac0349263a2d3
Bug 14703: Holidays description shows \r\n for every new line

Adds a new line for the holiday's description instead of the string
\r\n.

Test plan:
1. In tools -> Calendar look at some holiday's description
   (Do a new holiday with description of multiple lines if
   there is not already)
2. Notice that there is characters \r\n if someone has put
   a newline in the holiday's description
3. Apply patch
4. See that the new lines show there now nicely

Sponsored-by: Vaara-kirjastot
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Amended slightly: no need to replace title.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit fa1311894906821e2b6bc9e4e3a831a855a20bca)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt