diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-03-04 21:08:28 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-03-04 21:08:28 +0100 |
commit | cfeb1e07682715c6d5ac16abc58af113df228f92 (patch) | |
tree | a00024962a03cdeacfc41af1669a9ac9fa4f09a3 | |
parent | f8a946486839b48c79400daa79d983d7656bec15 (diff) | |
download | rpg-cfeb1e07682715c6d5ac16abc58af113df228f92.tar.gz rpg-cfeb1e07682715c6d5ac16abc58af113df228f92.tar.bz2 |
allow HTML in config option descriptions
darcs-hash:20060304200828-7ad00-f7316321fdeb29044153e180f8e87f48c252734e.gz
-rw-r--r-- | lib/plugins/config/settings/config.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/config/settings/config.class.php b/lib/plugins/config/settings/config.class.php index dfbf64614..ba071b4d1 100644 --- a/lib/plugins/config/settings/config.class.php +++ b/lib/plugins/config/settings/config.class.php @@ -350,8 +350,8 @@ if (!class_exists('setting')) { function prompt(&$plugin) { $prompt = $plugin->getLang($this->_key); - if (!$prompt) $prompt = str_replace(array('____','_'),' ',$this->_key); - return htmlspecialchars($prompt); + if (!$prompt) $prompt = htmlspecialchars(str_replace(array('____','_'),' ',$this->_key)); + return $prompt; } function is_protected() { return !is_null($this->_protected); } |