Markdent::Event::HTMLTag - An event for an inline self-closing HTML tag


Markdent documentation Contained in the Markdent distribution.

Index


Code Index:

NAME

Top

Markdent::Event::HTMLTag - An event for an inline self-closing HTML tag

VERSION

Top

version 0.17

DESCRIPTION

Top

This class represents the an inline self-closing HTML tag.

ATTRIBUTES

Top

This class has the following attributes:

tag

The tag that is starting.

attributes

A hash reference of attributes as key/value pairs. An attribute without a value will have a value of undef in the hash reference.

ROLES

Top

This class does the Markdent::Role::Event role.

BUGS

Top

See Markdent for bug reporting details.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


Markdent documentation Contained in the Markdent distribution.

package Markdent::Event::HTMLTag;
BEGIN {
  $Markdent::Event::HTMLTag::VERSION = '0.17';
}

use strict;
use warnings;

use Markdent::Types qw( Str HashRef );

use namespace::autoclean;
use Moose;
use MooseX::StrictConstructor;

has tag => (
    is       => 'ro',
    isa      => Str,
    required => 1,
);

has attributes => (
    is      => 'ro',
    isa     => HashRef,
    default => sub { {} },
);

with 'Markdent::Role::Event';

__PACKAGE__->meta()->make_immutable();

1;

# ABSTRACT: An event for an inline self-closing HTML tag




__END__