[Koha-patches] [PATCH] Format marc notes

Joe Atzberger joe.atzberger at liblime.com
Tue Apr 28 16:42:22 CEST 2009


Yes, we have to remember there are non-html destinations for Koha data,
including JSON and SIP where "<br \>" will be meaningless.

-- 
Joe Atzberger
LibLime - Open Source Library Solutions

On Tue, Apr 28, 2009 at 8:55 AM, Galen Charlton
<galen.charlton at liblime.com>wrote:

> Hi,
>
> On Tue, Jan 13, 2009 at 6:33 AM, Nahuel ANGELINETTI
> <nahuel.angelinetti at biblibre.com> wrote:
> > this patch add a filter to notes, it transform \n in <br />
> [snip]
> > +        $value =~ s/\n/<br \/>/g ;
> > +
>
> Rather than adding another instance where C4::Biblio embeds HTML, I
> suggest splitting the note on embedded newlines and pushing the result
> to the @marcnotes arrays:
>
> Regards,
>
> Galen
> --
> Galen Charlton
> VP, Research & Development, LibLime
> galen.charlton at liblime.com
> p: 1-888-564-2457 x709
> skype: gmcharlt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20090428/52e19c24/attachment-0002.htm>


More information about the Koha-patches mailing list