summaryrefslogtreecommitdiff
path: root/support/latexindent/LatexIndent/Arguments.pm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-03-14 03:01:40 +0000
committerNorbert Preining <norbert@preining.info>2022-03-14 03:01:40 +0000
commit9754713ebfdd18985b356efe48892afe656e3d37 (patch)
treef8056e63e7d97caacbfcfee61a468bfc0137fe44 /support/latexindent/LatexIndent/Arguments.pm
parent830142c7beb66ea5baa91b009ecea1529eaa70b0 (diff)
CTAN sync 202203140301
Diffstat (limited to 'support/latexindent/LatexIndent/Arguments.pm')
-rw-r--r--support/latexindent/LatexIndent/Arguments.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/latexindent/LatexIndent/Arguments.pm b/support/latexindent/LatexIndent/Arguments.pm
index 028f0ec842..35ea03a63e 100644
--- a/support/latexindent/LatexIndent/Arguments.pm
+++ b/support/latexindent/LatexIndent/Arguments.pm
@@ -82,7 +82,7 @@ sub find_opt_mand_arguments{
# text wrapping can make the ID split across lines
${$arguments}{idRegExp} = ${$arguments}{id};
- if($is_m_switch_active){
+ if($is_m_switch_active and ${$mainSettings{modifyLineBreaks}{textWrapOptions}}{huge} ne "overflow"){
my $IDwithLineBreaks = join("\\R?\\h*",split(//,${$arguments}{id}));
${$arguments}{idRegExp} = qr/$IDwithLineBreaks/s;
}