@@ -, +, @@ - Fill borrowernotes and opacnote with lines separated by lines endings, - save and check the content is displayed on a single line, - apply this patch, - check lines endings are displayed --- members/moremember.pl | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/members/moremember.pl +++ a/members/moremember.pl @@ -199,6 +199,15 @@ if ( $patron->is_expired || $patron->is_going_to_expire ) { ); } +# Convert line feed to html in borrowernotes and opacnote. +my $borrowernotes = $patron->borrowernotes; +$borrowernotes =~ s#\n#
#g; +$patron->borrowernotes($borrowernotes); + +my $opacnote = $patron->opacnote; +$opacnote =~ s#\n#
#g; +$patron->opacnote($opacnote); + $template->param( patron => $patron, issuecount => $patron->checkouts->count, --