-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Description
Weltmeister will produce invalid level JSON if a double-quote is used anywhere in the settings of one of your entities.
For example: Say you have an Entity called EntityText, and it has a text property with a value of "Hello". These double-quotes will seem to work fine, but when you save, the JSON produced will be invalid. And when you refresh and try to reload the level, the level will not parse.
This is caused by a bug in JSONFormat:
Impact/lib/weltmeister/weltmeister.js
Lines 410 to 413 in ca59f0e
| var dataString = JSON.stringify(data); | |
| if( wm.config.project.prettyPrint ) { | |
| dataString = JSONFormat( dataString ); | |
| } |
Bug details and a fix can be found here: phoboslab/json-format#2
Metadata
Metadata
Assignees
Labels
No labels