lib/metanorma/gb/processor.rb in asciidoctor-gb-0.3.1 vs lib/metanorma/gb/processor.rb in asciidoctor-gb-0.3.2

- old
+ new

@@ -9,14 +9,14 @@ @input_format = :asciidoc @asciidoctor_backend = :gb end def output_formats - { + super.merge( html: "html", doc: "doc" - } + ) end def version "Asciidoctor::Gb #{Asciidoctor::Gb::VERSION}" end @@ -29,11 +29,12 @@ case format when :html IsoDoc::Gb::HtmlConvert.new(options).convert(outname, isodoc_node) when :doc IsoDoc::Gb::WordConvert.new(options).convert(outname, isodoc_node) + else + super end end - end end end