Skip to content
New issue

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

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

Already on GitHub? # to your account

Can safeDump output double quotes? #529

Closed
krp312 opened this issue Nov 20, 2019 · 2 comments
Closed

Can safeDump output double quotes? #529

krp312 opened this issue Nov 20, 2019 · 2 comments

Comments

@krp312
Copy link

krp312 commented Nov 20, 2019

Greetings,

Is it possible to convert the JS below to the YAML below?

JS:

{ apostrophes: "It's didn't there's" }

YAML:

apostrophes: "It's didn't there's"

In the YAML, I want to wrap the string in double quotes. The string will contain single quotes (apostrophes).

Thanks very much,
Kris

@backmeupplz
Copy link

Any chance there is an answer?

@rlidwka
Copy link
Member

rlidwka commented Dec 9, 2020

Duplicate of #290.

Fixed by 7b256d7 in dev branch, gonna be released later.

@rlidwka rlidwka closed this as completed Dec 9, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants