From e5a617c7dff3047af0114d78d1cdd9f910a5d7c3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 12 Oct 2023 12:35:12 +0200 Subject: [PATCH] Bug 35043: Do not have \n or \t appear in PO files This is a trick, so that we won't have to deal with \t in PO files. \n is not a problem, but it seems consistent to use the same method for both. Signed-off-by: Owen Leonard Signed-off-by: Marcel de Rooy Signed-off-by: danyonsewell --- .../prog/en/modules/tools/csv-profiles.tt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt index d68696d0ab..095d4508a2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt @@ -106,15 +106,17 @@ [% ELSE %] [% END %] + [% tab_char = '\t' %] [% IF selected_separator == '\t' %] - + [% ELSE %] - + [% END %] + [% new_line_char = '\n' %] [% IF selected_separator == '\n' %] - + [% ELSE %] - + [% END %] [% END %] -- 2.39.5