line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Templ::Template::HTML; |
2
|
1
|
|
|
1
|
|
1114
|
use base 'Templ::Template::Basic'; # Inherit T::T::Basic's tags, too! |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
510
|
|
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
20
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use Templ::Template; # Import the add_* subs |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
91
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
add_header 'use Templ::Filter::HTML;'; |
10
|
|
|
|
|
|
|
add_tag '&' => 'Filter', 'filter' => 'encode_html'; |
11
|
|
|
|
|
|
|
add_tag ';' => 'Filter', 'filter' => 'encode_entities'; |
12
|
|
|
|
|
|
|
add_tag '%' => 'Filter', 'filter' => 'uri_escape'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |