From 24c6de40a2869f5b6c213c2cf69e597f885f2b19 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 8 Apr 2023 03:01:13 +0000 Subject: CTAN sync 202304080301 --- support/latexindent/LatexIndent/Item.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/latexindent/LatexIndent/Item.pm') diff --git a/support/latexindent/LatexIndent/Item.pm b/support/latexindent/LatexIndent/Item.pm index 0e7201a800..8fe5045852 100644 --- a/support/latexindent/LatexIndent/Item.pm +++ b/support/latexindent/LatexIndent/Item.pm @@ -146,7 +146,7 @@ sub remove_line_breaks_begin { # there is no white space my $self = shift; my $BodyStringLogFile = ${$self}{aliases}{BodyStartsOnOwnLine} || "BodyStartsOnOwnLine"; - $logger->trace("Removing linebreak at the end of begin (see $BodyStringLogFile)"); + $logger->trace("Removing linebreak at the end of begin (see $BodyStringLogFile)") if $is_t_switch_active; ${$self}{begin} =~ s/\R*$//sx; ${$self}{begin} .= " " unless ( ${$self}{begin} =~ m/\h$/s or ${$self}{body} =~ m/^\h/s or ${$self}{body} =~ m/^\R/s ); -- cgit v1.2.3