diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-08-28 16:19:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-08-28 16:19:24 +0000 |
commit | 34544d4dc0c738b603ba08e7baadbec3e1ec1a90 (patch) | |
tree | ee4800ced25841eb97a1f2281498780991a69e3e /includes | |
parent | 8f32c39db23a4b540d7d8dffff6f7d3c20e9e04a (diff) | |
download | brdo-34544d4dc0c738b603ba08e7baadbec3e1ec1a90.tar.gz brdo-34544d4dc0c738b603ba08e7baadbec3e1ec1a90.tar.bz2 |
- Unrolled patch #29103: always encode apostrophes.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 155f5b2e8..7b6fe29da 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -649,7 +649,7 @@ function t($string, $args = 0) { * Encode special characters in a plain-text string for display as HTML. */ function check_plain($text) { - return htmlspecialchars($text); + return htmlspecialchars($text, ENT_QUOTES); } /** |