Permalink
Browse files

twilio.php

  • Loading branch information...
Adam Ballai
Adam Ballai committed Nov 24, 2010
1 parent 739e91d commit 730e803e0dd5f87e5c5f76b326025c5673992a67
Showing with 1 addition and 1 deletion.
  1. +1 −1 twilio.php
View
@@ -312,7 +312,7 @@ function addSms($body=NULL, $attr = array()){
*/
protected function write($parent, $writeself=TRUE){
if($writeself) {
- $elem = $parent->addChild($this->tag, $this->body);
+ $elem = $parent->addChild($this->tag, htmlspecialchars($this->body));
foreach($this->attr as $key => $value)
$elem->addAttribute($key, $value);
foreach($this->children as $child)

0 comments on commit 730e803

Please sign in to comment.