Skip to content

fix:empty line break is ignored during parsing#65

Open
smiler-rf wants to merge 1 commit intoAzure:mainfrom
smiler-rf:main
Open

fix:empty line break is ignored during parsing#65
smiler-rf wants to merge 1 commit intoAzure:mainfrom
smiler-rf:main

Conversation

@smiler-rf
Copy link

for message: "id:111111\nevent:add\ndata:\ndata:more\n\n"

before:
parse result is:

{
id: "11111",
event: "add",
data: "more"
}

now:
parse result is:

{
id: "11111",
event: "add",
data: "\nmore"
}

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

Successfully merging this pull request may close these issues.

2 participants