View | Details | Raw Unified | Return to bug 20975
Collapse All | Expand All

(-)a/benchmark_AutoEscaping.pl (-2 / +2 lines)
Lines 5-10 my $tt = Template->new( Link Here
5
    {
5
    {
6
        ABSOLUTE    => 1,
6
        ABSOLUTE    => 1,
7
        PLUGIN_BASE => 'Koha::Template::Plugin',
7
        PLUGIN_BASE => 'Koha::Template::Plugin',
8
        STASH       => Template::Stash::AutoEscaping->new,
8
    }
9
    }
9
);
10
);
10
11
Lines 31-37 __DATA__ Link Here
31
[% pouet %]
32
[% pouet %]
32
<div style="display:none;">
33
<div style="display:none;">
33
[% FOR l IN loop %]
34
[% FOR l IN loop %]
34
    [% l.foo | html %] [% l.bar | html %]
35
    [% l.foo %] [% l.bar %]
35
    <br/>
36
    <br/>
36
[% END %]
37
[% END %]
37
</div>
38
</div>
38
- 

Return to bug 20975