/stop command
[scpubgit/Clifton.git] / lib / App / Clifton / Tower / Jabber.pm
index 1798f46..e57e962 100644 (file)
@@ -93,6 +93,7 @@ sub handle_message {
 
 sub send_xmpp_message {
   my ($self, $args) = @_;
+  s/&/&amp;/g, s/"/&quot;/g, s/</&lt;/g, s/>/&gt;/g for $args->{body};
   $self->xmpp_client->compose(%$args)->send;
 }