diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-06 21:08:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-06 21:08:34 +0000 |
commit | bd4cf1f2e6801bca16d71f96a87d5c09301a06eb (patch) | |
tree | bfa5f0e57ee2d76c094747247ca23b3fd8a6ea7f /Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm | |
parent | ec035cd766bacb7df89447b788c371e1a8430711 (diff) |
latexindent (6may20)
git-svn-id: svn://tug.org/texlive/trunk@55047 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm')
-rw-r--r-- | Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm index 95f2389e806..deb2d75032a 100644 --- a/Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm +++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm @@ -386,7 +386,7 @@ sub align_at_ampersand{ or (${$_}{numberOfAmpersands} < ${$self}{maximumNumberOfAmpersands} and !${$self}{alignRowsWithoutMaxDelims} and !${$_}{endPiece}) ){ - ${$_}{row} = (${$_}{unformattedRow}?${$_}{unformattedRow}:q()).(${$_}{trailingComment}?${$_}{trailingComment}:q()); + ${$_}{row} = (${$_}{unformattedRow} ne "" ? ${$_}{unformattedRow}:q()).(${$_}{trailingComment}?${$_}{trailingComment}:q()); } } |