Skip to content

wordwrap fails #1

@nieboe

Description

@nieboe

"" is escaped to "", thus posted notes cannot contain newlines.

Example:
posted text content: "title\r\nnew line\nanother line"
response:

    {
     "notes":[
     {
    "summary":"title\\r\\nnew line\\nanother line",
    "user":{

    "user_name":"XXXXXXXXXX",
    "id":XXXXXXXXXX},
    "created_at":"2010-04-29T12:34:56.789Z",
    "mode":"private",
    "modified_at":"2010-04-29T12:34:56.789Z",
    "reminder_at":null,
    "id":XXXXXXXXX,
    "text":"title\\r\\nnew line\\nanother line",
    "tags":[ ],
    "source":"3banana",
    "location":null,
    "source_url":"https://snaptic.com/",
    "children":0}
    ]
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions