lib/asciidoctor/gb/converter.rb in metanorma-gb-1.4.0 vs lib/asciidoctor/gb/converter.rb in metanorma-gb-1.4.1

- old
+ new

@@ -59,9 +59,10 @@ node.nil? ? IsoDoc::Gb::WordConvert.new({}) : IsoDoc::Gb::WordConvert.new(doc_extract_attributes(node)) end def pdf_converter(node) + return nil if node.attr("no-pdf") node.nil? ? IsoDoc::Gb::PdfConvert.new({}) : IsoDoc::Gb::PdfConvert.new(doc_extract_attributes(node)) end def presentation_xml_converter(node)