Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Fix yaml parser issue #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mabras
Copy link
Contributor

@mabras mabras commented Oct 20, 2015

I was working on refinerycms, some values get parsed with new line (\n) in it:

h = {"confirm_changes" => "Any changes you've made will be lost. Are you sure you want to continue without saving?"}

#"---\nconfirm_changes: Any changes you've made will be lost. Are you sure you want to continue\n  without saving?\n"

https://eval.in/453954

So I had to use line_width => -1 to solve the problem.

@1st8
Copy link
Contributor

1st8 commented Nov 10, 2015

Nice find, just cherry-picked it into my branch 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants