Skip to content

newline symbol correction for fields value before send to server #158

Closed
@cgi-caesar

Description

@cgi-caesar

I believe last line of function $.fieldValue should looks like:

return $(el).val().replace( /\r?\n/g, "\r\n" );

Otherwise standard submit and ajax submit will result with different newline symbol on server script on linux machine.

Please refer how jQuery serialize form.

Best Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions