X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=edithelp.pl;h=362f678e86045c61b70bd813f17444a07c361152;hb=c8561fa4a2a698a7ee20fd8b09674303893f2ab5;hp=5d236c2fd286a8eb53534ce34f2d382b6a00a64a;hpb=14658447ef9029046d3bb62c73e218212369d9e9;p=koha.git diff --git a/edithelp.pl b/edithelp.pl index 5d236c2fd2..362f678e86 100755 --- a/edithelp.pl +++ b/edithelp.pl @@ -34,6 +34,8 @@ my $type = $input->param('type'); my $referer = $input->param('referer'); my $oldreferer = $referer; my $help = $input->param('help'); +# strip any DOS-newlines that TinyMCE may have sneaked in +$help =~ s/\r//g; my $error; my ( $template, $loggedinuser, $cookie ) = get_template_and_user(