Class: Markbridge::Parsers::HTML::Handlers::ParagraphHandler
- Inherits:
-
SimpleHandler
- Object
- BaseHandler
- SimpleHandler
- Markbridge::Parsers::HTML::Handlers::ParagraphHandler
- 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
Attributes inherited from BaseHandler
Instance Method Summary collapse
-
#initialize ⇒ ParagraphHandler
constructor
A new instance of ParagraphHandler.
Methods inherited from SimpleHandler
Methods inherited from BaseHandler
Constructor Details
#initialize ⇒ ParagraphHandler
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 |