Method: IsoDoc::PresentationXMLConvert#mathml_style_inherit

Defined in:
lib/isodoc/presentation_function/math.rb

#mathml_style_inherit(node) ⇒ Object



203
204
205
206
207
# File 'lib/isodoc/presentation_function/math.rb', line 203

def mathml_style_inherit(node)
  node.at("./ancestor::xmlns:strong") or return
  node.children =
    "<mstyle mathvariant='bold'>#{node.children.to_xml}</mstyle>"
end