commit
fd9cac3c17
@ -115,7 +115,7 @@ class XMPPHP_XMLObj {
|
|||||||
foreach($this->attrs as $key => $value) {
|
foreach($this->attrs as $key => $value) {
|
||||||
if($key != 'xmlns') {
|
if($key != 'xmlns') {
|
||||||
$value = htmlspecialchars($value);
|
$value = htmlspecialchars($value);
|
||||||
$str .= "$key='$value' ";
|
$str .= "$key=\"$value\" ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$str .= ">";
|
$str .= ">";
|
||||||
|
Loading…
Reference in New Issue
Block a user