lib/asciidoctor/iso/section.rb in metanorma-iso-1.1.1 vs lib/asciidoctor/iso/section.rb in metanorma-iso-1.1.2
- old
+ new
@@ -26,10 +26,10 @@
symbols_parse(a, xml, node)
when "bibliography" then bibliography_parse(a, xml, node)
else
if @term_def then term_def_subclause_parse(a, xml, node)
elsif @biblio then bibliography_parse(a, xml, node)
- elsif node.attr("style") == "bibliography" && node.level == 1
+ elsif node.attr("style") == "bibliography"
bibliography_parse(a, xml, node)
elsif node.attr("style") == "appendix" && node.level == 1
annex_parse(a, xml, node)
elsif node.option? "appendix"
appendix_parse(a, xml, node)