TO recreate: 1. Add an required patron attribute 2. Go to the patron form ( memberentrygen.tt ) 3. Look at the textarea for the required attribute 4. There is unwanted whitespace characters in the textarea
Created attachment 187138 [details] [review] Bug 40917: Remove extraneous whitespace To test: 1. Add an required patron attribute 2. Go to the patron form ( memberentrygen.tt ) 3. Look at the textarea for the required attribute 4. There is unwanted whitespace characters in the textarea 5. APPLY PATCH 6. Try again, the whitespace should be gone.
Created attachment 187225 [details] [review] Bug 40917: Remove extraneous whitespace To test: 1. Add an required patron attribute 2. Go to the patron form ( memberentrygen.tt ) 3. Look at the textarea for the required attribute 4. There is unwanted whitespace characters in the textarea 5. APPLY PATCH 6. Try again, the whitespace should be gone. Signed-off-by: CJ Lynce <cj.lynce@westlakelibrary.org>
Took me a minute to 'see' the issue (extra whitespaces IN the textbox), but that's more a me issue. =) Patch works to remove those unwanted spaces.
Created attachment 187228 [details] [review] Bug 40917: Remove extraneous whitespace To test: 1. Add an required patron attribute 2. Go to the patron form ( memberentrygen.tt ) 3. Look at the textarea for the required attribute 4. There is unwanted whitespace characters in the textarea 5. APPLY PATCH 6. Try again, the whitespace should be gone. Signed-off-by: CJ Lynce <cj.lynce@westlakelibrary.org> Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi>
Created attachment 187455 [details] [review] Bug 40917: Remove extraneous whitespace To test: 1. Add an required patron attribute 2. Go to the patron form ( memberentrygen.tt ) 3. Look at the textarea for the required attribute 4. There is unwanted whitespace characters in the textarea 5. APPLY PATCH 6. Try again, the whitespace should be gone. Signed-off-by: CJ Lynce <cj.lynce@westlakelibrary.org> Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Nice work everyone! Pushed to main for 25.11