summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-04-02 18:22:17 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-04-02 18:22:17 +0000
commitd48351a027ed58ddbbd10e196617cdd237ed46c4 (patch)
treeffefcd3817b5b0d394f7e63c0e6a74bad57c8625
parenta3e9b35afc1716969bfc75ba31df169bbeb28cb5 (diff)
downloadbrdo-d48351a027ed58ddbbd10e196617cdd237ed46c4.tar.gz
brdo-d48351a027ed58ddbbd10e196617cdd237ed46c4.tar.bz2
- #19873: drupal_specialchars -> check_plain
-rw-r--r--includes/locale.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index d45ffedf0..061106d74 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -952,7 +952,7 @@ function _locale_string_edit($lid) {
foreach ($languages['name'] as $key => $lang) {
$form .= (strlen($orig) > 40) ? form_textarea($lang, $key, '', 70, 15) : form_textfield($lang, $key, '', 50, 128);
}
- $form = form_item(t('Original text'), wordwrap(drupal_specialchars($orig, 0))) . $form;
+ $form = form_item(t('Original text'), wordwrap(check_plain($orig, 0))) . $form;
$form .= form_submit(t('Save translations'));