lib/asciidoctor/standoc/base.rb in metanorma-standoc-1.8.1 vs lib/asciidoctor/standoc/base.rb in metanorma-standoc-1.8.2

- old
+ new

@@ -102,15 +102,17 @@ @filename = node.attr("docfile") ? File.basename(node.attr("docfile")).gsub(/\.adoc$/, "") : "" @localdir = Metanorma::Utils::localdir(node) @output_dir = outputdir node @no_isobib_cache = node.attr("no-isobib-cache") @no_isobib = node.attr("no-isobib") + @sourcecode_markup_start = node.attr("sourcecode-markup-start") || "{{{" + @sourcecode_markup_end = node.attr("sourcecode-markup-end") || "}}}" @bibdb = nil @seen_headers = [] @datauriimage = node.attr("data-uri-image") @boilerplateauthority = node.attr("boilerplate-authority") @sourcecode_markup_start = node.attr("sourcecode-markup-start") || "{{{" - @sourcecode_markup_end = node.attr("sourcecode-markup-start") || "}}}" + @sourcecode_markup_end = node.attr("sourcecode-markup-end") || "}}}" @log = Metanorma::Utils::Log.new init_bib_caches(node) init_iev_caches(node) @lang = (node.attr("language") || "en") @script = (node.attr("script") || default_script(node.attr("language")))