Re: [OSM-talk] Polish Potlatch doesn't work anymore.
On Tue, Sep 29, 2009 at 10:58:12AM +0200, stl...@poczta.fm wrote: It apparently stopped working because Polish translation[1] contains double quotes which make their way to html unescaped which produces a JS string like this: Blah blah foo bar blah in which foo bar becomes JS *code*. The quotes in the message should be escaped *and* the code which sends the message to the page should escape special characters. And Polish quotes should be: „” and not . Greets, Jacek ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
[OSM-talk] Polish Potlatch doesn't work anymore.
Greetings. It apparently stopped working because Polish translation[1] contains double quotes which make their way to html unescaped which produces a JS string like this: Blah blah foo bar blah in which foo bar becomes JS *code*. The quotes in the message should be escaped *and* the code which sends the message to the page should escape special characters. [1]http://translatewiki.net/w/i.php?title=Osm:Site.edit.potlatch_unsaved_changes/plaction=editloadgroup=out-osmloadtask=view -- Best regards, steelman -- Wyszukiwarka tanich lotow! Sprawdz http://link.interia.pl/f233e ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Polish Potlatch doesn't work anymore.
On Tue, Sep 29, 2009 at 8:58 AM, stl...@poczta.fm wrote: Greetings. It apparently stopped working because Polish translation[1] contains double quotes which make their way to html unescaped which produces a JS string like this: Blah blah foo bar blah in which foo bar becomes JS *code*. The quotes in the message should be escaped *and* the code which sends the message to the page should escape special characters. [1]http://translatewiki.net/w/i.php?title=Osm:Site.edit.potlatch_unsaved_changes/plaction=editloadgroup=out-osmloadtask=view I fixed this bug in the rails port: http://trac.openstreetmap.org/changeset/17842 ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk