I'm proxying a issue which another user (vavincavent) found, and reported
on IRC.

The issue seems to be that Worldmap uses the translation strings from
Subsurface, which may contain apostrophes, and these translation strings
are not HTML-escaped in the same manner as eg. the note of the dive is.

This results in premature ends of strings like the following (taken from
the exported   Worldmap HTML):

tempinfowindow = new google.maps.InfoWindow({content: '<div
id="content">'+'<div id="siteNotice">'+'</div>'+'<div
id="bodyContent"><p>Date : 1996-04-07</p><p>Temps: 10:00:12</p><p>Durée:
46:06 min</p><p>Profondeur max : 15.0 m</p><p>Température de l'Air:
--</p><p>Température de l'eau: --</p><p>Lieu: <b>Le
Frioul</b></p></p>'+'</div>'+'</div>'});

Note the "de l'Air" and "l'eau".

This should not yet be an issue with the HTML export which seems currently
have hardcoded english labels, but should be kept in mind when it is
changed to use the language translations.

Poltsi

-- 
Paul-Erik Törrönen   "When science and the Bible differ,
[email protected]   science has obviously misinterpreted
+358 40 703 1231      its data"
http://poltsi.fi/     Henry Morris, father of 'modern creationism'

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to