diff options
| author | 2013-09-14 17:51:33 +0200 | |
|---|---|---|
| committer | 2013-09-14 17:51:33 +0200 | |
| commit | c63b52738c85ed76c795e62f3238f6cc32cc0b55 (patch) | |
| tree | 6e8fa81e9b5a6f174041c944801c61a9a5563d30 /lib/lib_phpQuery.php | |
| parent | adc33811c3c9513ca56dfa5e57169a5a1df106db (diff) | |
| parent | da2e4e09d939f49a69cfcd0b3a450f0484f51ff9 (diff) | |
Merge branch 'utf8bug' of https://github.com/Alkarex/FreshRSS into Alkarex-utf8bug
Diffstat (limited to 'lib/lib_phpQuery.php')
| -rw-r--r-- | lib/lib_phpQuery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_phpQuery.php b/lib/lib_phpQuery.php index 33ed8a011..4aefb70fe 100644 --- a/lib/lib_phpQuery.php +++ b/lib/lib_phpQuery.php @@ -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 = ''; |
