Method: IsoDoc::Function::Inline#error_parse

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

#error_parse(node, out) ⇒ Object



158
159
160
161
162
163
# File 'lib/isodoc/function/inline.rb', line 158

def error_parse(node, out)
  text = node.to_xml.gsub("<", "&lt;").gsub(">", "&gt;")
  out.para do |p|
    p.b(role: "strong") { |e| e << text }
  end
end