mtgjson / mtgsqlive

MTGJSON build scripts to generate alternative data formats
https://mtgjson.com
MIT License
54 stars 32 forks source link

Newlines #12

Closed ancestral closed 5 years ago

ancestral commented 5 years ago

Newlines in card text aren’t properly escaped, resulting in an issue where the cards don’t import successfully to SQL as it thinks each of these is the start of a new database entry.

The solution is to escape \n as \\n.

ZeldaZach commented 5 years ago

This is handled already and the SQLite imports successfully. Let me know if this is still a problem for you!