From 22573a5bbc295ce814d5d121ad5fd105dd4e6ad0 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 10 Jan 2007 16:00:59 +0000 Subject: [PATCH] =?utf8?q?Anzeige=20von=20mehrzeiligen=20Firmenadressen=20?= =?utf8?q?berichtigt.=20Fix=20f=C3=BCr=20Bug=20#484.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/rp.pl | 3 ++- bin/mozilla/ustva.pl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 034fa4f89..7e931d468 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -1253,7 +1253,8 @@ sub generate_balance_sheet { $form->{IN} = "balance_sheet.html"; # setup company variables for the form - map { $form->{$_} = $myconfig{$_} } + map { $form->{$_} = $myconfig{$_}; + $form->{$_} =~ s/\\n/\n/g; } (qw(company address businessnumber nativecurr)); $form->{templates} = $myconfig{templates}; diff --git a/bin/mozilla/ustva.pl b/bin/mozilla/ustva.pl index bf9aaecb3..6f097c7e1 100644 --- a/bin/mozilla/ustva.pl +++ b/bin/mozilla/ustva.pl @@ -1033,7 +1033,7 @@ sub generate_ustva { $form->{bold} = ""; $form->{endbold} = ""; $form->{br} = "
"; - $form->{address} =~ s/\\n/
/g; + $form->{address} =~ s/\\n/\n/g; } elsif ($form->{format} =~ /^elster/) { -- 2.20.1