Method: IsoDoc::Function::Inline#error_parse
- Defined in:
- lib/isodoc/function/inline.rb
#error_parse(node, out) ⇒ Object
100 101 102 103 104 105 |
# File 'lib/isodoc/function/inline.rb', line 100 def error_parse(node, out) text = node.to_xml.gsub(/</, "<").gsub(/>/, ">") out.para do |p| p.b(**{ role: "strong" }) { |e| e << text } end end |