Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 96527a7beacf4078a39181347b93bcd5e8659556 1 parent d157b1e
Carl Mäsak authored November 20, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Text/Markup/Wiki/MediaWiki.pm
2  lib/Text/Markup/Wiki/MediaWiki.pm
@@ -99,7 +99,7 @@ class Text::Markup::Wiki::MediaWiki {
99 99
         $trimmed .= subst( / ^ \s+ /, '' );
100 100
         $trimmed .= subst( / \s+ $ /, '' );
101 101
 
102  
-        my $cleaned_of_whitespace = $trimmed.trans( [ /\s+/ => ' ' ] );
  102
+        my $cleaned_of_whitespace = $trimmed.trans( / \s+ / => ' ' );
103 103
 
104 104
         my $xml_escaped = $cleaned_of_whitespace.trans(
105 105
             [           '<', '>', '&', '\''   ] =>

0 notes on commit 96527a7

Please sign in to comment.
Something went wrong with that request. Please try again.