Allow whitespace formatting in user invitations. Preserve text messages with newlines. Fixes bug #11538

This commit is contained in:
Colin Kuskie 2010-05-17 16:13:01 -07:00
parent 3ae3684aea
commit 7afb41fdf9
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@
- fixed #11552: Visitors (and others) can bypass group-by-IP restrictions
- fixed #11572: visitors can enter editProfile
- fixed #11563: Syndicated Content - descriptionFirstParagraph cuts off
- fixed #11538: User invite mail: whitespace in message lost
7.9.4
- We're shipping underscore.js now for its suite of extremely handy utility

View file

@ -960,7 +960,7 @@ sub www_inviteUserSave {
);
## No sneaky attack paths...
$var->{'message'} = WebGUI::HTML::html2text( WebGUI::HTML::filter($message) );
$var->{'message'} = WebGUI::HTML::format(WebGUI::HTML::filter($message));
my $emailBody = $self->processTemplate( $var, $self->getInviteUserMessageTemplateId );