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

Long strings with spaces getting converted to newlines #15

Open
IreshMM opened this issue Sep 28, 2022 · 0 comments
Open

Long strings with spaces getting converted to newlines #15

IreshMM opened this issue Sep 28, 2022 · 0 comments

Comments

@IreshMM
Copy link

IreshMM commented Sep 28, 2022

Input:

---
ssh_authorized_keys:
  - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCSChzHzjRBBt0GqyG9dU+PJZuOVKvfz4cPV4W430rHDPWH+Mqw0bhi+ytNmvwu8ZjZdmrBEv21PB5zscMWbbedoWgOgToln2jcP6mo6Ah6aAnTAbkiwG0f6XG4ORheeQsvLhJp4hIPcTt+ggqW8MJbC6QIGunfIe2Pk6RSJWFsqlSVhIHG8POywTegeq4idB5VeT674EYYjzX2eL2VLFAerKCm4lTs2qzdPCLw2+is40yaLZt6fjYC4P2hTDSt9IJgfDrIbl6GrOfCnh/E2RDGfRgAzqynLMHHI5b7aZglnamPyCgAssYkMcl7yrZjY428AjGsY3fyA7wvxfKSPZaT iresh@kvm-host"

Output:

ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCSChzHzjRBBt0GqyG9dU+PJZuOVKvfz4cPV4W430rHDPWH+Mqw0bhi+ytNmvwu8ZjZdmrBEv21PB5zscMWbbedoWgOgToln2jcP6mo6Ah6aAnTAbkiwG0f6XG4ORheeQsvLhJp4hIPcTt+ggqW8MJbC6QIGunfIe2Pk6RSJWFsqlSVhIHG8POywTegeq4idB5VeT674EYYjzX2eL2VLFAerKCm4lTs2qzdPCLw2+is40yaLZt6fjYC4P2hTDSt9IJgfDrIbl6GrOfCnh/E2RDGfRgAzqynLMHHI5b7aZglnamPyCgAssYkMcl7yrZjY428AjGsY3fyA7wvxfKSPZaT
  iresh@kvm-host

Expected output is same as input.

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

No branches or pull requests

1 participant