Class: Markbridge::Parsers::HTML::Handlers::ParagraphHandler

Inherits:
SimpleHandler show all
Defined in:
lib/markbridge/parsers/html/handlers/paragraph_handler.rb

Overview

Handler for <p> tags Creates AST::Paragraph nodes to preserve paragraph boundaries

Instance Attribute Summary

Attributes inherited from SimpleHandler

#element_class

Attributes inherited from BaseHandler

#element_class

Instance Method Summary collapse

Methods inherited from SimpleHandler

#process

Methods inherited from BaseHandler

#process

Constructor Details

#initializeParagraphHandler

Returns a new instance of ParagraphHandler.



10
11
12
# File 'lib/markbridge/parsers/html/handlers/paragraph_handler.rb', line 10

def initialize
  super(AST::Paragraph)
end