lib/isodoc/gb/gbhtmlrender.rb in asciidoctor-gb-0.3.2 vs lib/isodoc/gb/gbhtmlrender.rb in asciidoctor-gb-0.3.3

- old
+ new

@@ -186,12 +186,14 @@ t << name.text end end def term_defs_boilerplate(div, source, term, preface) - (source.empty? && term.nil?) and div << @no_terms_boilerplate or - div << term_defs_boilerplate_cont(source, term) - div << @term_def_boilerplate unless preface + unless preface + (source.empty? && term.nil?) and div << @no_terms_boilerplate or + div << term_defs_boilerplate_cont(source, term) + end + #div << @term_def_boilerplate unless preface end def reference_names(ref) isopub = ref.at(ns(ISO_PUBLISHER_XPATH)) docid = ref.at(ns("./docidentifier"))