[Koha-bugs] [Bug 22715] Searching for patrons with "" in the circulation note hangs patron search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 25 20:04:30 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22715

--- Comment #17 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Nick Clemens from comment #16)
> (In reply to Katrin Fischer from comment #13)
> > I am in doubt about the filters used here:
> > 
> > "[% data.borrowernotes | html_line_break | collapse | html | $To %]"
> 
> I think we just need one html filter - the link break should take care of
> filtering:
> [% data.borrowernotes | html_line_break | collapse | $To %]
> 
> Alternately:
> If we don't want to process any of the html here but add line breaks:
> [% data.borrowernotes | html | html_line_break | collapse | $To %]
>  
> I suspect we do expect 'bold' etc to be processed though, I imagine some
> libraries could have links here

I don't think that html_line_break does any escapign beyond changing the new
lines. I think actually there should be a $raw as we just allowed to add HTML
to that field.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list