summaryrefslogtreecommitdiff
path: root/support/latexindent/LatexIndent
diff options
context:
space:
mode:
Diffstat (limited to 'support/latexindent/LatexIndent')
-rw-r--r--support/latexindent/LatexIndent/Verbatim.pm4
-rw-r--r--support/latexindent/LatexIndent/Version.pm4
2 files changed, 4 insertions, 4 deletions
diff --git a/support/latexindent/LatexIndent/Verbatim.pm b/support/latexindent/LatexIndent/Verbatim.pm
index d115bf078f..6149ca5236 100644
--- a/support/latexindent/LatexIndent/Verbatim.pm
+++ b/support/latexindent/LatexIndent/Verbatim.pm
@@ -41,7 +41,7 @@ sub find_noindent_block{
(
(?!<\\)
%
- \h* # possible horizontal spaces
+ (?:\h|(?!<\\)%)* # possible horizontal spaces
\\begin\{
$noIndentBlockSpec # environment name captured into $2
\} # % \begin{noindentblock} statement
@@ -52,7 +52,7 @@ sub find_noindent_block{
(
(?!<\\)
% # %
- \h* # possible horizontal spaces
+ (?:\h|(?!<\\)%)* # possible horizontal spaces
\\end\{$noIndentBlockSpec\} # \end{noindentblock}
) # % \end{<something>} statement
/sx;
diff --git a/support/latexindent/LatexIndent/Version.pm b/support/latexindent/LatexIndent/Version.pm
index 170b08f58f..3751a17adb 100644
--- a/support/latexindent/LatexIndent/Version.pm
+++ b/support/latexindent/LatexIndent/Version.pm
@@ -19,6 +19,6 @@ use warnings;
use Exporter qw/import/;
our @EXPORT_OK = qw/$versionNumber $versionDate/;
-our $versionNumber = '3.9.1';
-our $versionDate = '2021-03-21';
+our $versionNumber = '3.9.2';
+our $versionDate = '2021-04-06';
1