Revision 693f2ebe
Von Moritz Bunkus vor fast 19 Jahren hinzugefügt
bin/mozilla/ustva.pl | ||
---|---|---|
147 | 147 |
my $temp = $form->{address}; |
148 | 148 |
$temp =~ s/\\n/<br \/>/; |
149 | 149 |
($form->{co_street}, $form->{co_city}) = split("<br \/>", $temp); |
150 |
$form->{co_city} =~ s/\\n//g; |
|
150 | 151 |
} |
151 | 152 |
|
152 | 153 |
if ($form->{co_street} ne '' |
... | ... | |
990 | 991 |
my $temp = $form->{address}; |
991 | 992 |
$temp =~ s/\\n/<br \/>/; |
992 | 993 |
($form->{co_street}, $form->{co_city}) = split("<br \/>", $temp); |
994 |
$form->{co_city} =~ s/\\n//g; |
|
993 | 995 |
} |
994 | 996 |
|
995 | 997 |
if ( $form->{format} eq 'pdf' |
... | ... | |
1025 | 1027 |
$form->{bold} = "<b>"; |
1026 | 1028 |
$form->{endbold} = "</b>"; |
1027 | 1029 |
$form->{br} = "<br>"; |
1028 |
$form->{address} =~ s/\\n/<br \/>/; |
|
1030 |
$form->{address} =~ s/\\n/<br \/>/g;
|
|
1029 | 1031 |
|
1030 | 1032 |
} |
1031 | 1033 |
|
Auch abrufbar als: Unified diff
USTVA: Leerzeilen/Zeilenumbrueche in der Adressangabe muessen richtig escapet werden. Fix fuer Bug 311.