Bugzilla – Attachment 28503 Details for
Bug 12300
Revert BZ10727 - Remove duplicate <br /> in printed hold notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 12300 : Revert Bug 10727: Cancel replacing carriage return with <br /> when printing hold notices"
SIGNED-OFF-Bug-12300--Revert-Bug-10727-Cancel-repl.patch (text/plain), 1.18 KB, created by
Bernardo Gonzalez Kriegel
on 2014-05-27 21:26:35 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 12300 : Revert Bug 10727: Cancel replacing carriage return with <br /> when printing hold notices"
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2014-05-27 21:26:35 UTC
Size:
1.18 KB
patch
obsolete
>From 5311a8ecb204186a06a46f89e989f48939e623bb Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Wed, 21 May 2014 11:39:52 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 12300 : Revert Bug 10727: Cancel replacing > carriage return with <br /> when printing hold notices" > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >No errors. > >Exact reversion of 10727. >Just thinking, again you will get all text in one line [1] > >[1] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10727#c0 >--- > misc/cronjobs/gather_print_notices.pl | 8 -------- > 1 file changed, 8 deletions(-) > >diff --git a/misc/cronjobs/gather_print_notices.pl b/misc/cronjobs/gather_print_notices.pl >index 248716e..4e54447 100755 >--- a/misc/cronjobs/gather_print_notices.pl >+++ b/misc/cronjobs/gather_print_notices.pl >@@ -69,14 +69,6 @@ my $today = C4::Dates->new(); > my @all_messages = @{ GetPrintMessages() }; > exit unless (@all_messages); > >-## carriage return replaced by <br/> as output is html >-foreach my $message (@all_messages) { >- local $_ = $message->{'content'}; >- s/\n/<br \/>/g; >- s/\r//g; >- $message->{'content'} = $_; >-} >- > my $OUTPUT; > > if ($split) { >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12300
:
28390
| 28503