move use
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 21 Sep 2006 20:30:03 +0000 (20:30 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 21 Sep 2006 20:30:03 +0000 (20:30 +0000)
IkiWiki/Plugin/typography.pm

index d613f873b146dd40c90324627ad0b8993b368df9..6c5f06b0f3928aa7550a9c6fb32b92ef1891f73d 100644 (file)
@@ -5,6 +5,7 @@ package IkiWiki::Plugin::typography;
 use warnings;
 use strict;
 use IkiWiki;
+use Text::Typography;
 
 sub import { #{{{
        IkiWiki::hook(type => "sanitize", id => "typography", call => \&sanitize);
@@ -13,7 +14,6 @@ sub import { #{{{
 sub sanitize (@) { #{{{
        my %params=@_;
 
-       eval q{use Text::Typography};
        return Text::Typography::typography($params{content});
 } # }}}