X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0c050c7650dd6ce44a6f4d7a5592f979582c427e..55a74ec99d06cf44900f4b9dfba86a8525ed48b9:/SL/IC.pm diff --git a/SL/IC.pm b/SL/IC.pm index 4254236db..f62c67695 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -954,24 +954,4 @@ sub prepare_parts_for_printing { return %template_arrays; } -sub normalize_text_blocks { - $main::lxdebug->enter_sub(); - - my $self = shift; - my %params = @_; - - my $form = $params{form} || $main::form; - - # check if feature is enabled (select normalize_part_descriptions from defaults) - return unless ($::instance_conf->get_normalize_part_descriptions); - - foreach (qw(description notes)) { - $form->{$_} =~ s/\s+$//s; - $form->{$_} =~ s/^\s+//s; - $form->{$_} =~ s/ {2,}/ /g; - } - $main::lxdebug->leave_sub(); -} - - 1;