lib/isodoc/csd/csdconvert.rb in asciidoctor-csd-0.3.2 vs lib/isodoc/csd/csdconvert.rb in asciidoctor-csd-0.4.0

- old
+ new

@@ -3,11 +3,11 @@ module IsoDoc module Csd # A {Converter} implementation that generates CSD output, and a document # schema encapsulation of the document for validation - class Convert < IsoDoc::Convert + class HtmlConvert < IsoDoc::HtmlConvert def html_doc_path(file) File.join(File.dirname(__FILE__), File.join("html", file)) end def initialize(options) @@ -65,10 +65,10 @@ end def error_parse(node, out) # catch elements not defined in ISO case node.name - when "pre" + when "pre" pre_parse(node, out) when "keyword" out.span node.text, **{ class: "keyword" } else super