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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 26 Jul 2019 15:23:03 +0000 (16:23 +0100)
commit0c4112a200bfdcdbdba4ce7870aeced1f960cfd9
tree9317ba874469253948efd940cdda01aa6816fe04
parentfea1d135be0f7e9ee55ae27f510861fe4c159307
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>
Koha/Edifact/Order.pm
t/Ediorder.t