From d48351a027ed58ddbbd10e196617cdd237ed46c4 Mon Sep 17 00:00:00 2001
From: Steven Wittens <steven@10.no-reply.drupal.org>
Date: Sat, 2 Apr 2005 18:22:17 +0000
Subject: [PATCH] - #19873: drupal_specialchars -> check_plain

---
 includes/locale.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/locale.inc b/includes/locale.inc
index d45ffedf04ea..061106d7406a 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'));
 
-- 
GitLab