View | Details | Raw Unified | Return to bug 12294
Collapse All | Expand All

(-)a/misc/cronjobs/overdue_notices.pl (-5 / +1 lines)
Lines 822-831 sub prepare_letter_for_printing { Link Here
822
        }
822
        }
823
    } elsif ( exists $params->{'outputformat'} && $params->{'outputformat'} eq 'html' ) {
823
    } elsif ( exists $params->{'outputformat'} && $params->{'outputformat'} eq 'html' ) {
824
      $return = "<pre>\n";
824
      $return = "<pre>\n";
825
      my $content = $params->{'letter'}->{'content'};
825
      $return .= "$params->{'letter'}->{'content'}\n";
826
      $content =~ s/\n/<br \/>/g;
827
      $content =~ s/\r//g;
828
      $return .= "$content\n";
829
      $return .= "\n</pre>\n";
826
      $return .= "\n</pre>\n";
830
    } else {
827
    } else {
831
        $return .= "$params->{'letter'}->{'content'}\n";
828
        $return .= "$params->{'letter'}->{'content'}\n";
832
- 

Return to bug 12294