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

Set escapeBackslash for fabric.mod.json variable expansion #282

Open
wants to merge 1 commit into
base: 1.20
Choose a base branch
from

Conversation

YoshiRulz
Copy link

@YoshiRulz YoshiRulz commented Apr 23, 2024

The file seems to be parsed in some capacity, as without this change, the sequence \n (just in the file, not even in the interpolated variable) is replaced with a literal newline, which by the JSON spec isn't allowed in strings.

edit: Sorry about the trailing newline. I wasn't aware GitHub's built-in editor did that. You're welcome to push to my branch to remove it if that's the project convention.

see also FabricMC/fabricmc.net#86

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.

1 participant