diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-12 17:24:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-12 17:24:06 +0000 |
commit | 1a2576036b3377ec83a08b7238f59dc474053543 (patch) | |
tree | b425f4f254ae6f148e44c1f37e47ac3093b9bdc9 /includes/common.inc | |
parent | 97c4c603d56799e674d3b5c81ce262d6c66cd518 (diff) | |
download | brdo-1a2576036b3377ec83a08b7238f59dc474053543.tar.gz brdo-1a2576036b3377ec83a08b7238f59dc474053543.tar.bz2 |
- Bugfix: charset fixes/clean-up. Patch #52 by Al.
- Improvement: renamed some theme functions of the forum module for sake of consistency/readability. Patch #2 by Kristjan.
- Improvement: usability improvements to the Xtemplate theme. Patch #3 by Kristjan.
- Improvement: CSS'ified the book module pages. Patch #3 by Al. (I simplified the "l
ocation" part. Al's approach gave you a bit more power but I'm not sure anyone wants
to change that. Besides, this will change as soon we integrate the menu system so I kept it easy for now.)
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/common.inc b/includes/common.inc index 80ab6ee4c..234309459 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -202,8 +202,8 @@ function variable_del($name) { unset($conf[$name]); } -function drupal_specialchars($input) { - return htmlspecialchars($input, ENT_NOQUOTES, "utf-8"); +function drupal_specialchars($input, $quotes = ENT_NOQUOTES) { + return htmlspecialchars($input, $quotes, "utf-8"); } function table_cell($cell, $header = 0) { @@ -489,7 +489,7 @@ function check_url($uri) { } function check_form($text) { - return htmlspecialchars($text); + return drupal_specialchars($text, 0); } function check_query($text) { |