move use
parent
c7140ad90b
commit
bbfe1b9058
|
@ -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});
|
||||
} # }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue