lib/webgen/contentprocessor/rdoc.rb in webgen-0.5.8 vs lib/webgen/contentprocessor/rdoc.rb in webgen-0.5.9

- old
+ new

@@ -9,9 +9,11 @@ # Convert the content in RDoc markup to HTML. def call(context) require 'rdoc/markup/to_html' context.content = ::RDoc::Markup::ToHtml.new.convert(context.content) context + rescue LoadError + raise Webgen::LoadError.new('rdoc/markup/to_html', self.class.name, context.dest_node.alcn, 'rdoc') end end end