commit 2e396c7921a72a22a68a417e39499878ef563a6b parent 59b6f30159c4605b43655e704c432431d86f037f Author: Antoine Amarilli <a3nm@a3nm.net> Date: Tue, 19 Sep 2017 13:48:14 +0200 fix unescaped brace bug Diffstat:
shorthand.pl | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shorthand.pl b/shorthand.pl @@ -105,7 +105,7 @@ my $ontitle = ""; while (<>) { last if /^$/; - if (/^\\usepackage\[[^]]*,([^\],]*)\]{babel}/) { + if (/^\\usepackage\[[^]]*,([^\],]*)\]\{babel\}/) { $defaultlang = $1; } if (/NOTOC/) {