blob: 196e1c6c24f87577bd6f9813b81ffb531623b421 (
plain)
- #!/usr/bin/perl
- # work around modest URL parsing <https://github.com/jgm/pandoc/issues/1838>
- use warnings;
- use strict;
- use Path::Tiny;
- use Regexp::Common qw(net);
- my $infile = shift;
- my $outfile = shift || $infile;
- $_ = path($infile)->slurp_utf8;
- s/=-/%3D%2D/g;
- path($outfile)->spew_utf8($_);
- 1;
|