From: Tom Hughes Date: Tue, 9 Jun 2009 18:59:44 +0000 (+0000) Subject: Don't use single quotes to wrap translated strings in javascript in case X-Git-Tag: live~7060 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a8c7d1c4ce7b0b11eda847947a50dadcbee75cae Don't use single quotes to wrap translated strings in javascript in case the translation contains an apostrophe. Closes #1942. --- diff --git a/app/views/browse/start.rjs b/app/views/browse/start.rjs index 3043e8330..707054526 100644 --- a/app/views/browse/start.rjs +++ b/app/views/browse/start.rjs @@ -76,7 +76,7 @@ page << <#{I18n.t('export.start_rjs.view_larger_map')}'; + html += '
'+"#{I18n.t('export.start_rjs.view_larger_map')}"+''; $("export_html_text").value = html;