mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 14:43:32 -04:00
More explicit UTF-8
More explicit UTF-8 in PDO MySQL, html_entity_decode, htmlentities, and htmlspecialchars (less important)
This commit is contained in:
@@ -3365,7 +3365,7 @@ class phpQueryObject
|
||||
*/
|
||||
public function text($text = null, $callback1 = null, $callback2 = null, $callback3 = null) {
|
||||
if (isset($text))
|
||||
return $this->html(htmlspecialchars($text));
|
||||
return $this->html(htmlspecialchars($text), ENT_NOQUOTES, 'UTF-8');
|
||||
$args = func_get_args();
|
||||
$args = array_slice($args, 1);
|
||||
$return = '';
|
||||
|
||||
Reference in New Issue
Block a user