Error displaying "edit-message" textarea
akurtz - March 17, 2009 - 04:24
| Project: | Invite |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
On the invitation page ("/invite"), the "From", "To", "Subject" fields display fine, but the "Message" field HTML looks like this:
<div class="invite-message"><div class="opening"><p>Your friend, {user}, has invited you to join {site}!
</p>
<p>To join, click the link below or paste it into the address bar of your browser.
</p>
<p>http://{url}/invite/accept/--invite-code--
</p>
<p>----------<br />
</p></div>
<div class="form-item" id="edit-message-wrapper">
<textarea cols="60" rows="5" name="message" id="edit-message" class="form-textarea resizable"></textarea>
<div class="description">This message will be added to the mail sent to the person you are inviting.</div>
</div>
<div class="closing"><p></p>
</div></div>The "edit-message" textarea code is acting as though it has been passed through htmlspecialchars(). Any idea what might be causing this?
Thanks,
Austin

#1
#2
Any solution to this? I'm having the same issue...
#3
I commented out line 865 of the .module which was:
$message_form = "
\n". drupal_render($form['message']) ."\n".'
';
May have been important for a feature i'm not using - but it all seems to be working now...