Method: IsoDoc::WordFunction::Body#pagebreak_parse

Defined in:
lib/isodoc/word_function/inline.rb

#pagebreak_parse(node, out) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/isodoc/word_function/inline.rb', line 18

def pagebreak_parse(node, out)
  return page_break(out) if node["orientation"].nil?

  out.p do |p|
    p.br **{ clear: "all", class: "section",
             orientation: node["orientation"] }
  end
end