class CiteProc::Ruby::Formats::Text

Private Instance Methods

finalize!() click to toggle source
Calls superclass method CiteProc::Ruby::Format#finalize!
# File lib/citeproc/ruby/formats/default.rb, line 9
def finalize!
  super
  output.gsub!(/&(amp|lt|gt);/, {
    '&' => '&',
    '>'  => '>',
    '&lt;'  => '<'
  })
end