aboutsummaryrefslogtreecommitdiff
path: root/.library/IkiWiki/Plugin/texinfo.pm
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2018-09-26 22:20:34 +0200
committerThomas Schwinge <thomas@schwinge.name>2018-09-26 22:37:03 +0200
commit6a870e98d7f94402e83c02e9d7dfffb15f9013e4 (patch)
tree8aa2eb88a27798abd2a2d9ef3a70b3dba9a4160e /.library/IkiWiki/Plugin/texinfo.pm
parente089958182566e2076ecf724dd2871edf287dcfa (diff)
downloadweb-6a870e98d7f94402e83c02e9d7dfffb15f9013e4.tar.gz
web-6a870e98d7f94402e83c02e9d7dfffb15f9013e4.tar.bz2
web-6a870e98d7f94402e83c02e9d7dfffb15f9013e4.zip
Resolve incompatibility in "getfield" and "texinfo" plugins
... seen with recent versions of Perl: Failed to load plugin IkiWiki::Plugin::getfield: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/{{ <-- HERE \$([-\w/]+#)?[-\w]+}}/ at [...]/.library/IkiWiki/Plugin/getfield.pm line 68. Compilation failed in require at (eval 94) line 1. BEGIN failed--compilation aborted at (eval 94) line 1.
Diffstat (limited to '.library/IkiWiki/Plugin/texinfo.pm')
-rw-r--r--.library/IkiWiki/Plugin/texinfo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/.library/IkiWiki/Plugin/texinfo.pm b/.library/IkiWiki/Plugin/texinfo.pm
index 8c651160..0950fb66 100644
--- a/.library/IkiWiki/Plugin/texinfo.pm
+++ b/.library/IkiWiki/Plugin/texinfo.pm
@@ -107,7 +107,7 @@ sub filter (@)
# ``Render'' by hand some stuff that is commonly found in this section.
if (defined $copyright{$page})
{
- $copyright{$page} =~ s/\@copyright{}/©/g;
+ $copyright{$page} =~ s/\@copyright\{\}/©/g;
}
if (defined $license{$page})
{