class IsoDoc::Csa::PresentationXMLConvert

Public Instance Methods

annex1(f) click to toggle source
# File lib/isodoc/csa/presentation_xml_convert.rb, line 8
def annex1(f)
  lbl = @xrefs.anchor(f['id'], :label)
  if t = f.at(ns("./title"))
    t.children = "<strong>#{t.children.to_xml}</strong>"
  end
  prefix_name(f, "<br/>", lbl, "title")
end