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

Extra whitespace introduced when command is split across multiple lines #108

Open
codervivek opened this issue Jan 5, 2021 · 0 comments

Comments

@codervivek
Copy link

Consider the following config:

<cops>
  name stein\
  son
  age  25
  <colors>
    color \#000000\
    white
  </colors>
</cops>

The parser produces the following output:
{'cops': {'name': 'stein son', 'age': '25', 'colors': {'color': '#000000 white'}}}

I don't want the extra whitespace between stein and son or betweem #000000 and white. Is there a way by which we can get the parsed output without the extra whitespaces?

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