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

- old
+ new

@@ -11,10 +11,11 @@ end def output_formats super.merge( html: "html", + compliant_html: "compliant.html", doc: "doc" ) end def version @@ -27,9 +28,11 @@ def output(isodoc_node, outname, format, options={}) case format when :html IsoDoc::Gb::HtmlConvert.new(options).convert(outname, isodoc_node) + when :compliant_html + IsoDoc::Gb::HtmlConvert.new(options.merge(compliant: true)).convert(outname, isodoc_node) when :doc IsoDoc::Gb::WordConvert.new(options).convert(outname, isodoc_node) else super end