logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Markdent::Handler::HTMLFilter - Filters out HTML events from the event stream

Author

       Dave Rolsky <autarch@urth.org>

Bugs

       See Markdent for bug reporting details.

       Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.

       I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".

Description

       This class implements an event filter which drops all HTML events except for HTML entities.

Methods

       This class provides the following methods:

   Markdent::Handler::HTMLFilter->new
       This method creates a new handler.

Name

       Markdent::Handler::HTMLFilter - Filters out HTML events from the event stream

Roles

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

Source

       The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.

Synopsis

         my $html = Markdent::Handler::HTMLStream->new( ... );

         my $filter = Markdent::Handler::HTMLFilter->new( handler => $html );

         my $parser = Markdent::Parser->new( handler => $filter ):

         $parser->parse( markdown => ... );

Version

       version 0.40

See Also