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