diff options
-rwxr-xr-x | mediawiki-trim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediawiki-trim b/mediawiki-trim index a67d205..3e8bcb7 100755 --- a/mediawiki-trim +++ b/mediawiki-trim @@ -13,7 +13,7 @@ my $outfile = shift || $infile; $_ = path($infile)->slurp_utf8; -s!.*?\n= != !s; +s!^(?:.*?\n)?= != !s; path($outfile)->spew_utf8($_); |