projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9553aeb
)
correct the invocation for htmlspecialchars to handle quote display issues with editp...
author
friendica
<info@friendica.com>
Wed, 15 Aug 2012 07:02:15 +0000
(
00:02
-0700)
committer
friendica
<info@friendica.com>
Wed, 15 Aug 2012 07:02:15 +0000
(
00:02
-0700)
include/text.php
patch
|
blob
|
history
diff --git
a/include/text.php
b/include/text.php
index 356c2fab4cf8b5de7c0591169e140da818aab422..adfa90e409992136f48a6fa2959a15e04f71a36e 100644
(file)
--- a/
include/text.php
+++ b/
include/text.php
@@
-70,7
+70,7
@@
function notags($string) {
if(! function_exists('escape_tags')) {
function escape_tags($string) {
- return(htmlspecialchars($string));
+ return(htmlspecialchars($string
, ENT_QUOTES, 'UTF-8', false
));
}}