diff options
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm')
-rw-r--r-- | Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm index dc8aa53f206..a1b56391f2c 100644 --- a/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm +++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm @@ -109,7 +109,7 @@ sub find_file_contents_environments_and_preamble{ # that the body has a preamble my $preambleRegExp = qr/ (.*?) - (\R*)? # linebreaks at end of body into $2 + (\R*\h*)? # linebreaks at end of body into $2 \\begin\{document\} /sx; my $preamble = q(); |