Bug 18689: calendar error with double quotes in title or description of holiday
authorMarc Véron <veron@veron.ch>
Sun, 4 Jun 2017 16:04:00 +0000 (18:04 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 12 Jun 2017 10:17:48 +0000 (12:17 +0200)
commit0f20a2c97acb04e137db35499f0c46d27d57bf0c
tree2ac1468df779f24d65e9dcc3c24b31ed230810c7
parentb0cb001e83a7810233e488f99b67fae7c4776918
Bug 18689: calendar error with double quotes in title or description of holiday

This patch fixes the calendar display with holidays having double qoutes in
title or description.

To test:
- Apply patch
- Go to Home > Tools > Calendar
- Create new holidays of each type (Day only, repeated wekly/yearly,
  range, yearly repeated range and enter double qoutes in their titles and
  descriptions
- Verify that calendar displays and works as expected
- Verify that you can edit the holidays

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f1d90f205e3dc8177c0d524b208d9d4a367cf56e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt