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

Fix metadata formatting issues w/ quotes #149

Merged
merged 1 commit into from
Jun 6, 2021
Merged

Fix metadata formatting issues w/ quotes #149

merged 1 commit into from
Jun 6, 2021

Conversation

mrichards42
Copy link
Owner

@jpd236 see if this fixes #117 for good. This should work for all formats, not just jpz, if you happen to have a specially crafted puz around.

Instead of splicing strings into the metadata format function, store
strings in a table, and pass a table into the function.
@jpd236
Copy link
Contributor

jpd236 commented Jun 6, 2021

Verified that the attached example .puz causes Lua errors without this patch and is fixed with it. Thanks!

test-metadata.zip

@mrichards42 mrichards42 merged commit 705706c into master Jun 6, 2021
@mrichards42 mrichards42 deleted the metadata branch June 6, 2021 19:41
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

Successfully merging this pull request may close these issues.

Improve special character handling in JPZ metadata
2 participants