Method: IsoDoc::Function::Section#inline_header_title

Defined in:
lib/isodoc/function/section_titles.rb

#inline_header_title(out, node, title) ⇒ Object



12
13
14
15
16
17
18
19
# File 'lib/isodoc/function/section_titles.rb', line 12

def inline_header_title(out, node, title)
  out.span class: "zzMoveToFollowing inline-header" do |s|
    s.b do |b|
      title&.children&.each { |c2| parse(c2, b) }
      clausedelimspace(node, out) if /\S/.match?(title&.text)
    end
  end
end