83 |
|
|
84 |
sub html_escape { |
sub html_escape { |
85 |
my ( $self, $html ) = @_; |
my ( $self, $html ) = @_; |
86 |
|
return '' unless defined $html; |
87 |
$html =~ s/($escape_re)/$escape{$1}/g; |
$html =~ s/($escape_re)/$escape{$1}/g; |
88 |
return $html; |
return $html; |
89 |
} |
} |
246 |
our $reload_counter = 0; |
our $reload_counter = 0; |
247 |
|
|
248 |
|
|
249 |
=head2 page |
=head2 html_page |
250 |
|
|
251 |
$self->page( |
$self->html_page( |
252 |
title => 'page title', |
title => 'page title', |
253 |
head => '<!-- optional head markup -->', |
head => '<!-- optional head markup -->', |
254 |
body => '<b>Page Body</b>', |
body => '<b>Page Body</b>', |
261 |
|
|
262 |
our $icon_html; |
our $icon_html; |
263 |
|
|
264 |
sub page { |
sub html_page { |
265 |
my $self = shift; |
my $self = shift; |
266 |
my $a = {@_}; |
my $a = {@_}; |
267 |
|
|