[Koha-patches] [PATCH] Bug 7262 - No calendar present in holidays module when there are quotes in title or description

Robin Sheat robin at catalyst.net.nz
Fri Nov 25 02:00:33 CET 2011


Juan Romay Sieira schreef op do 24-11-2011 om 18:05 [+0100]:
> -       week_days["[% WEEK_DAYS_LOO.KEY %]"] = {title:"[%
> WEEK_DAYS_LOO.TITLE %]", description:"[% WEEK_DAYS_LOO.DESCRIPTION %
> ]"};
> +       week_days["[% WEEK_DAYS_LOO.KEY %]"] = {title:"[%
> WEEK_DAYS_LOO.TITLE | replace('"','\"') %]", description:"[%
> WEEK_DAYS_LOO.DESCRIPTION | replace('"','\"') %]"}; 

I'm not 100% sure, but would a better solution be to run it through '|
html' or similar?

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: </pipermail/koha-patches/attachments/20111125/c0dda398/attachment.pgp>


More information about the Koha-patches mailing list