diff --git a/lib/docs/core/filter.rb b/lib/docs/core/filter.rb index de176544..ef916005 100644 --- a/lib/docs/core/filter.rb +++ b/lib/docs/core/filter.rb @@ -68,7 +68,7 @@ module Docs def parse_html(html) warn "#{self.class.name} is re-parsing the document" unless ENV['RACK_ENV'] == 'test' - super + quietly { super } end end end diff --git a/lib/docs/core/parser.rb b/lib/docs/core/parser.rb index 43a08904..e3a59b61 100644 --- a/lib/docs/core/parser.rb +++ b/lib/docs/core/parser.rb @@ -5,7 +5,7 @@ module Docs end def html - @html ||= document? ? parse_as_document : parse_as_fragment + @html ||= quietly { document? ? parse_as_document : parse_as_fragment } end private