Method: IsoDoc::Function::ToWordHtml#boilerplate
- Defined in:
- lib/isodoc/function/to_word_html.rb
#boilerplate(node, out) ⇒ Object
104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
# File 'lib/isodoc/function/to_word_html.rb', line 104 def boilerplate(node, out) @bare and return boilerplate = node.at(ns("//boilerplate")) or return out.div class: "authority" do |s| boilerplate.children.each do |n| if n.name == "title" s.h1 do |h| n.children.each { |nn| parse(nn, h) } end else parse(n, s) end end end end |