Skip to content

Arguments escape not uniform #96

Open
@faceair

Description

@faceair

Describe the bug

After the crossplane parse, I expect all arguments to be unescaped.

https://github.com/nginxinc/crossplane/blob/v0.5.7/tests/test_parse.py#L946
Here, arg1 is escaped, but arg2 is unescaped, where the data format is not uniform. My program is confused when dealing with the arguments of the directive and doesn't know when it should be manually unescape.

Expected behavior

'args': ['#arg 1', '#arg 2']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions