HTML-HTML5-Writer
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/HTML/HTML5/Writer.pm view on Meta::CPAN
view all matches for this distribution
828384858687888990919293949596979899100101
track
@default
video
@autoplay
video
@preload
video
@controls
video
@loop
);
our
@OptionalStart
=
qw(html head body tbody)
;
our
@OptionalEnd
=
qw(html head body tbody dt dd li optgroup
option p rp rt td th tfoot thead tr)
;
sub
new
{
my
(
$class
,
%opts
) =
@_
;
my
$self
=
bless
\
%opts
=>
$class
;
$self
->{
'markup'
} //=
'html'
;
$self
->{
'charset'
} //=
'utf8'
;
$self
->{
'refs'
} //=
'hex'
;
$self
->{
'doctype'
} //= (
$self
->is_xhtml? DOCTYPE_LEGACY : DOCTYPE_HTML5);
$self
->{
'polyglot'
} //= !!
$self
->is_xhtml;
return
$self
;
}
view release on metacpan - search on metacpan
( run in 0.926 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )