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 - invalid line wrap with signed numbers in json property #2116

Conversation

mhnaeem
Copy link
Contributor

@mhnaeem mhnaeem commented Nov 17, 2022

Description

  • Source branch in your fork has meaningful name (not main)

This fix makes sure we can identify signed numbers correctly when they are used as an object property to avoid having issues with line wrapping

Fixes Issue:
fixes #1932

Before Merge Checklist

These items can be completed after PR is created.

(Check any items that are not applicable (NA) for this PR)

  • JavaScript implementation
  • Python implementation (NA if HTML beautifier)
  • Added Tests to data file(s)
  • Added command-line option(s) (NA if
  • README.md documents new feature/option(s)

mhnaeem and others added 2 commits November 17, 2022 16:59
This fix makes sure we can identify signed numbers correctly when they are used as an object property to avoid having issues with line wrapping

fixes beautifier#1932
@mhnaeem
Copy link
Contributor Author

mhnaeem commented Jan 22, 2023

@bitwiseman Did you get a chance to look at this particular PR?

@bitwiseman
Copy link
Member

I hadn't. I'll take a look in the next couple days. Looks reasonable at first glance.

@bitwiseman bitwiseman merged commit 4925cbc into beautifier:main Aug 30, 2023
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.

invalid json being generated with wrap_line_length
2 participants