HTML/Template/Compiled/Plugin/Hyphen: add
use escape "hyphen" at HTC templates to concatenate words by hyphens. This fill fix URLs with filenames generated from series or program title.
This commit is contained in:
@@ -8,6 +8,7 @@ use feature 'state';
|
||||
use Data::Dumper;
|
||||
use HTML::Template::Compiled();
|
||||
use HTML::Template::Compiled::Plugin::XMLEscape();
|
||||
use HTML::Template::Compiled::Plugin::Hyphen();
|
||||
|
||||
#use HTML::Template::JIT();
|
||||
use JSON();
|
||||
@@ -119,6 +120,7 @@ sub initTemplate($) {
|
||||
default_escape => $default_escape,
|
||||
cache => 1,
|
||||
utf8 => 1,
|
||||
plugin => [qw(HTML::Template::Compiled::Plugin::Hyphen)]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user