Skip to content

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

Description

@codervivek

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions