| 1 | package DTL::Fast::Tag::DumpHTML; | ||
| 2 | 2 | ▶ | use strict; use utf8; use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use parent 'DTL::Fast::Tag::Dump'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 2 | $DTL::Fast::TAG_HANDLERS{'dump_html'} = __PACKAGE__; | |
| 6 | 2 | ▶ | use DTL::Fast; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | #@Override | ||
| 9 | sub render | ||
| 10 | { | ||
| 11 | 6 | ▶ | my ($self, $context) = @_; |
|
Subroutine
render: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 12 | |||
| 13 | 6 | my $result = sprintf | |
| 14 | '<textarea class="dtl_fast_dump_area" style="display:block;height:100px;width:100%%;">%s</textarea>' | ||
| 15 | , DTL::Fast::html_protect($self->SUPER::render($context)); | ||
| 16 | |||
| 17 | 6 | return $result; | |
| 18 | } | ||
| 19 | |||
| 20 | 2 | 1; | |