lib/isodoc/gb/gbhtmlrender.rb in asciidoctor-gb-0.3.3 vs lib/isodoc/gb/gbhtmlrender.rb in asciidoctor-gb-0.3.4
- old
+ new
@@ -159,10 +159,10 @@
def clause_name(num, title, div, header_class)
header_class = {} if header_class.nil?
div.h1 **attr_code(header_class) do |h1|
if num
- h1 << num
+ h1 << "#{num}."
h1 << " "
end
h1 << title
end
div.parent.at(".//h1")