fix(tokeniser): Tokenising a quote inside quoted parameter (#210)
This commit is contained in:
@@ -18,7 +18,7 @@ extension String {
|
||||
|
||||
if separate != separator {
|
||||
word.append(separate)
|
||||
} else if singleQuoteCount % 2 == 0 && doubleQuoteCount % 2 == 0 && !word.isEmpty {
|
||||
} else if (singleQuoteCount % 2 == 0 || doubleQuoteCount % 2 == 0) && !word.isEmpty {
|
||||
components.append(word)
|
||||
word = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user