stevearc / godot_parser

Python library for parsing Godot scene files
MIT License
55 stars 11 forks source link

Missing: Does not handle escaped strings in .tscn files #7

Closed ChainedLupine closed 3 years ago

ChainedLupine commented 3 years ago

I have a pseudo-language that I use in some props of my scene objects, and godot-parser doesn't like escaped strings.

Example from test_parse_files.py on my project: condition = "has_ability(\"djump\")" <x> condition = "has_ability("djump")"

Note that I didn't add the escaping. I just typed has_ability("djump") in the editor, and apparently on save it escapes it.

stevearc commented 3 years ago

Thanks for the report! Should be fixed now