Index: ajax.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_server/l10n_community/Attic/ajax.inc,v
retrieving revision 1.1.2.7
diff -u -p -r1.1.2.7 ajax.inc
--- ajax.inc	27 Dec 2007 17:00:24 -0000	1.1.2.7
+++ ajax.inc	28 Dec 2007 08:30:52 -0000
@@ -63,7 +63,7 @@ function l10n_community_string_details($
     
     $decline_button = $perm == L10N_PERM_ALL ? theme('l10n_community_button', 'decline', 'decline', 'onclick="return l10nCommunity.declineSuggestion('. $suggestion->tid .','. $suggestion->sid .');" title="'. t('Decline suggestion.') .'"') : '';
     
-    $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.') .'"');
+    $copy_button = theme('l10n_community_button', 'edit', 'copy', 'onclick="return l10nCommunity.copySuggestion('. $suggestion->sid .',\''. check_plain(str_replace(array("'", "\0", '"', "\n", "\t", "\r"), array("\\'", "\O", '&quot;', "\\n", "\\t", "\\r"), $suggestion->translation)) .'\');" title="'. t('Copy suggestion text to the edit field.') .'"');
     
     // Plural versions are shown in a short form.
     $translation = check_plain(strpos($suggestion->translation, "\0") ? str_replace(chr(0), '; ', $suggestion->translation) : $suggestion->translation);
