[Koha-patches] [PATCH] Support newlines in the notes field when displaying

Robin Sheat robin at catalyst.net.nz
Fri Jul 2 03:54:30 CEST 2010


Op donderdag 01-07-2010 om 19:33 uur [tijdzone -0400], schreef Galen
Charlton:
> This sort of HTML display logic should be pushed off to the templates
> if at all possible; if newlines are significant in the notes field
> (and this is slightly nonstandard in MARC, in fact, although I grant
> that it certainly happens in the wild), I suggest splitting up
> @$marcnotesarray on embedded newlines and passing that to the
> template.

That would be fairly fiddly to do with the current templating system.
Given that, I'll put this on hold until the move to template toolkit is
made, where we can just run it through a filter.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dit berichtdeel is digitaal ondertekend
URL: </pipermail/koha-patches/attachments/20100702/57d768ad/attachment.pgp>


More information about the Koha-patches mailing list