Skip to content

Newlines in JSON messages result in syntax error #10

@odbol

Description

@odbol

If the server sends JSON that has newlines in it, Cordova Javascript will barf with a syntax error. The createJsonForMessage() function should correctly escape newlines before sending.

Thanks for making this, by the way! Exactly what I needed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions