Module: RbbCode::ImgTagNode
- Defined in:
- lib/rbbcode/node_extensions.rb
Overview
You won’t find this module in the .treetop file. Instead, it’s effectively a specialization of TagNode, which calls to ImgTagNode when processing an img tag.
Instance Method Summary collapse
Instance Method Details
#img_to_html ⇒ Object
179 180 181 |
# File 'lib/rbbcode/node_extensions.rb', line 179 def img_to_html '<img src="' + inner_bbcode + '" alt="Image"/>' end |
#img_to_markdown ⇒ Object
183 184 185 |
# File 'lib/rbbcode/node_extensions.rb', line 183 def img_to_markdown "" end |