Lines 620-625
sub GetPreparedLetter {
Link Here
|
620 |
|
620 |
|
621 |
if ($substitute) { |
621 |
if ($substitute) { |
622 |
while ( my ($token, $val) = each %$substitute ) { |
622 |
while ( my ($token, $val) = each %$substitute ) { |
|
|
623 |
if ( $token eq 'items.content' ) { |
624 |
$val =~ s|\n|<br/>|g if $letter->{is_html}; |
625 |
} |
626 |
|
623 |
$letter->{title} =~ s/<<$token>>/$val/g; |
627 |
$letter->{title} =~ s/<<$token>>/$val/g; |
624 |
$letter->{content} =~ s/<<$token>>/$val/g; |
628 |
$letter->{content} =~ s/<<$token>>/$val/g; |
625 |
} |
629 |
} |
626 |
- |
|
|