Bug 23251: Correct formatting of IMD data ending in apostrophe
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 2 Jul 2019 09:58:41 +0000 (10:58 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 9 Aug 2019 12:54:12 +0000 (14:54 +0200)
commitd991ffdbee43984a592645a1b5624007bef96679
tree6c0e6f63aac7d1a188c76263df0f31e854056f96
parentb96cc020e84b23d50744293ce7a424854d7a9f95
Bug 23251: Correct formatting of IMD data ending in apostrophe

IMD text data may end in an apostrophe (e.g. dreamin' )
This was causing the segment to be incorrectly formatted
as only the last character was checked, not the preceding
character to check whether it was quoted

add a test for this specific occurence

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0c4112a200bfdcdbdba4ce7870aeced1f960cfd9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Edifact/Order.pm
t/Ediorder.t