Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a quotation mark (") on 'geode new' questions breaks mod.json #96

Closed
keratomalacian opened this issue Dec 31, 2024 · 0 comments
Closed

Comments

@keratomalacian
Copy link

When you put a quotation mark in some questions of 'geode new' (like in Name or Description) the mod.json file will also contain this quotation mark, which will not allow the mod to be built.

For example, if i put in the description input: This is a "description"
the json file will look like this

...
"description": "This is a "description""
...

If you then try to build the mod, CMake will throw an error.
The solution for this would be to correctly escape quotation marks so the json looks like this:

...
"description": "This is a \"description\""
...

or to forbid using this symbol in the inputs.

camila314 added a commit that referenced this issue Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants