wiki double encoding html entities
This commit is contained in:
parent
d6b1eff70e
commit
80ca99fe5b
@ -94,7 +94,7 @@ class MarkdownSoap {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function escape($s) {
|
function escape($s) {
|
||||||
return htmlspecialchars($s,ENT_QUOTES);
|
return htmlspecialchars($s,ENT_QUOTES,'UTF-8',false);
|
||||||
}
|
}
|
||||||
|
|
||||||
static public function unescape($s) {
|
static public function unescape($s) {
|
||||||
|
@ -168,6 +168,8 @@ class Comanche {
|
|||||||
return $y['xchan_addr'];
|
return $y['xchan_addr'];
|
||||||
elseif($x[1] == 'name')
|
elseif($x[1] == 'name')
|
||||||
return $y['xchan_name'];
|
return $y['xchan_name'];
|
||||||
|
elseif($x[1] == 'webname')
|
||||||
|
return substr($y['xchan_addr'],0,strpos($y['xchan_addr'],'@'));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return get_observer_hash();
|
return get_observer_hash();
|
||||||
|
Reference in New Issue
Block a user