class BookLab::SML::Rules::Br

Public Class Methods

match?(node) click to toggle source
# File lib/booklab/sml/rules/br.rb, line 5
def self.match?(node)
  tag_name(node) == "br"
end
to_html(node, opts = {}) click to toggle source
# File lib/booklab/sml/rules/br.rb, line 9
def self.to_html(node, opts = {})
  %(<br>)
end