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

feat: option to specify HTML escaping for JSON format #72

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Dec 20, 2022

This PR adds a way to specify HTML escaping for JSON format. The default is to escape certain characters, but some users do not want this behavior and would rather only escape the necessary double quote with \" when outputting JSON.

@kzantow kzantow requested a review from a team as a code owner December 20, 2022 22:48
@nscuro nscuro added the enhancement New feature or request label Dec 22, 2022
@nscuro nscuro added this to the v0.8.0 milestone Dec 22, 2022
Copy link
Member

@nscuro nscuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @kzantow! 🙌

@nscuro nscuro merged commit 41a1ac5 into CycloneDX:master Dec 22, 2022
@kzantow kzantow deleted the feat/escape-html-flag branch December 22, 2022 22:45
@nscuro nscuro modified the milestones: v0.8.0, v0.7.1 Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants