yakra / tmtools

Tools to aid in development of the TravelMapping project
0 stars 0 forks source link

canvas: quotation marks in city field #76

Closed yakra closed 5 years ago

yakra commented 5 years ago

no canvas displayed when attempting to include certain data

works OK if manually including all regions except CRM,RUS cannot --ExcludeRg them

works OK if manually including all systems except rusr

Check rusr.csv

yakra commented 5 years ago

Quotation marks in City field. Blindly writes entire City field, quotation marks included, to HTML. Has the effect of closing City attribute, followed by garbage text in the JavaScript, followed by another "quotation" nothing is done with. JavaScript cannot cope.

City:""Amur" (Blagoveshchensk branch)",
// vs.
City:"\"Amur\" (Blagoveshchensk branch)",

Solution?

yakra commented 5 years ago

0a1335a84fd685d5e98315a72087b262d3031e72