https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19655 Bug ID: 19655 Summary: To.json doesn't escape newlines which can create invalid JSON Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: kyle@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org JSON does not allow real line-breaks. If a field contains them and they are not escaped, a JSON parser will be unable to convert the stringified JSON back into an object. This is clearly exemplified by the guarantor search, where a multi-line note on the guarantor's record will break the ability to select that guarantor. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.