lib/yard/templates/helpers/markup/rdoc_markup.rb in yard-0.8.5.2 vs lib/yard/templates/helpers/markup/rdoc_markup.rb in yard-0.8.6
- old
+ new
@@ -11,10 +11,14 @@
class RDocMarkup; MARKUP = RDoc::Markup end
class RDocMarkupToHtml < RDoc::Markup::ToHtml
if defined?(RDoc::VERSION) && RDoc::VERSION >= '4.0.0' &&
defined?(RDoc::Options)
then
- def initialize; super(RDoc::Options.new) end
+ def initialize
+ options = RDoc::Options.new
+ options.pipe = true
+ super(options)
+ end
end
end
rescue LoadError
begin
require 'rdoc/markup/simple_markup'
\ No newline at end of file