Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

[Bug Report] Cannot split arguments with odd number of quotes. #11

Open
offchan42 opened this issue Nov 29, 2016 · 1 comment
Open

[Bug Report] Cannot split arguments with odd number of quotes. #11

offchan42 opened this issue Nov 29, 2016 · 1 comment

Comments

@offchan42
Copy link

offchan42 commented Nov 29, 2016

Try :ArgWrap this piece of code:

data: {text: 1, anotherText: "it's me", bool: true}

You will find that it stops splitting after the 2nd comma.
My guess is that because the word it's me has odd numbers of single quote inside (From the example, it's just one single quote).

You can try 3 double quotes or 5 single quotes. All of them introduce bugs.
Bugs also occur if the key is a text like this: "it's me"

@offchan42
Copy link
Author

@FooSoft Please consider fixing this bug.

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

No branches or pull requests

1 participant