Index: ajax.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_server/l10n_community/Attic/ajax.inc,v
retrieving revision 1.1.2.6
diff -u -p -r1.1.2.6 ajax.inc
--- ajax.inc	23 Dec 2007 22:36:13 -0000	1.1.2.6
+++ ajax.inc	25 Dec 2007 19:37:24 -0000
@@ -66,7 +66,7 @@ function l10n_community_string_details($
     $copy_button = theme('l10n_community_button', 'edit', 'copy', 'onclick="return l10nCommunity.copySuggestion('. $suggestion->sid .',\''. check_plain(str_replace(array("'", "\0"), array("\\'", "\O"), $suggestion->translation)) .'\');" title="'. t('Copy suggestion text to the edit field.') .'"');
     
     // Plural versions are shown in a short form.
-    $translation = strpos($suggestion->translation, "\0") ? str_replace(chr(0), '; ', $suggestion->translation) : $suggestion->translation;
+    $translation = check_plain(strpos($suggestion->translation, "\0") ? str_replace(chr(0), '; ', $suggestion->translation) : $suggestion->translation);
     
     $suggestions[] = $decline_button . $approve_button . $copy_button . $translation; 
   }
