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" } do |s|
    s.b do |b|
      title&.children&.each { |c2| parse(c2, b) }
      clausedelimspace(out) if /\S/.match?(title&.text)
    end
  end
end