[PATCH] Exporting a World-Map prototype

Dirk Hohndel dirk at hohndel.org
Sun Mar 30 15:58:46 PDT 2014


I took the patch but I found a bug.

If your dive notes contain newlines then the resulting java script
breaks with "unterminated string literal" because when printed out the
string literal runs across multiple lines.

So you need to find newlines in the strings that you print and convert
them into '\n' instead.

/D



More information about the subsurface mailing list