Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Text::Markup::Wiki::MediaWiki] fixed .trans call

  • Loading branch information...
commit 96527a7beacf4078a39181347b93bcd5e8659556 1 parent d157b1e
Carl Mäsak masak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Text/Markup/Wiki/MediaWiki.pm
2  lib/Text/Markup/Wiki/MediaWiki.pm
View
@@ -99,7 +99,7 @@ class Text::Markup::Wiki::MediaWiki {
$trimmed .= subst( / ^ \s+ /, '' );
$trimmed .= subst( / \s+ $ /, '' );
- my $cleaned_of_whitespace = $trimmed.trans( [ /\s+/ => ' ' ] );
+ my $cleaned_of_whitespace = $trimmed.trans( / \s+ / => ' ' );
my $xml_escaped = $cleaned_of_whitespace.trans(
[ '<', '>', '&', '\'' ] =>
Please sign in to comment.
Something went wrong with that request. Please try again.