summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-08-28 16:19:24 +0000
committerDries Buytaert <dries@buytaert.net>2005-08-28 16:19:24 +0000
commit34544d4dc0c738b603ba08e7baadbec3e1ec1a90 (patch)
treeee4800ced25841eb97a1f2281498780991a69e3e /includes
parent8f32c39db23a4b540d7d8dffff6f7d3c20e9e04a (diff)
downloadbrdo-34544d4dc0c738b603ba08e7baadbec3e1ec1a90.tar.gz
brdo-34544d4dc0c738b603ba08e7baadbec3e1ec1a90.tar.bz2
- Unrolled patch #29103: always encode apostrophes.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
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);
}
/**