line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Templ::Template::HTML; |
2
|
1
|
|
|
1
|
|
1020
|
use base 'Templ::Template::Basic'; # Inherit T::T::Basic's tags, too! |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
476
|
|
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
19
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
4
|
use Templ::Template; # Import the add_* subs |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
86
|
|
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; |