aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2015-06-14 21:35:51 -0400
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2015-06-14 21:35:51 -0400
commit604d0391ba2d372f8de6efd364e9978fb11e4f92 (patch)
tree4b3ff699f098f77dfe64a38c27ae993317206550 /IkiWiki
parent650ba28851f68f30fec1cb0caecfe06cc4f13785 (diff)
downloadikiwiki-604d0391ba2d372f8de6efd364e9978fb11e4f92.tar
ikiwiki-604d0391ba2d372f8de6efd364e9978fb11e4f92.tar.gz
Squelch regex deprecation warnings from Perl 5.22.
Specifically: "Unescaped left brace in regex is deprecated, passed through in regex"
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/teximg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/teximg.pm b/IkiWiki/Plugin/teximg.pm
index 3d6fa9942..e0f97614b 100644
--- a/IkiWiki/Plugin/teximg.pm
+++ b/IkiWiki/Plugin/teximg.pm
@@ -146,8 +146,8 @@ sub gen_image ($$$$) {
my $tex = $config{teximg_prefix};
$tex .= '\['.$code.'\]';
$tex .= $config{teximg_postfix};
- $tex =~ s!\\documentclass{article}!\\documentclass[${height}pt]{article}!g;
- $tex =~ s!\\documentclass{scrartcl}!\\documentclass[${height}pt]{scrartcl}!g;
+ $tex =~ s!\\documentclass\{article}!\\documentclass[${height}pt]{article}!g;
+ $tex =~ s!\\documentclass\{scrartcl}!\\documentclass[${height}pt]{scrartcl}!g;
my $tmp = eval { create_tmp_dir($digest) };
if (! $@ &&