[Koha-bugs] [Bug 30358] Strip leading/trailing whitespace characters from input fields when cataloguing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 22 18:31:17 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30358

Hammat wele <hammat.wele at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #144130|0                           |1
        is obsolete|                            |

--- Comment #62 from Hammat wele <hammat.wele at inlibro.com> ---
Created attachment 144171
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144171&action=edit
Bug 30358 (follow-up) Simplify regex

The regex does the following:
1. Replace newlines and carriage returns with a space
2. Replace leading and trailing whitespace with nothing (strip)

Signed-off-by: Hammat Wele <hammat.wele at inlibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list