lib/isodoc/gb/gbhtmlconvert.rb in asciidoctor-gb-0.2.5 vs lib/isodoc/gb/gbhtmlconvert.rb in asciidoctor-gb-0.3.0
- old
+ new
@@ -6,10 +6,10 @@
module IsoDoc
module Gb
# A {Converter} implementation that generates GB output, and a document
# schema encapsulation of the document for validation
- class Convert < IsoDoc::Convert
+ class HtmlConvert < IsoDoc::HtmlConvert
def default_fonts(options)
script = options[:script] || "Hans"
b = options[:bodyfont] ||
(script == "Hans" ? '"SimSun",serif' :
script == "Latn" ? '"Cambria",serif' : '"SimSun",serif' )