summaryrefslogtreecommitdiff
path: root/support/latexindent/LatexIndent/Arguments.pm
diff options
context:
space:
mode:
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;
}