Sha256: 9ed6c9a13ec24b3115e2de46ea8b8efafed8969eb3908b97ef1736234beacbb0
Contents?: true
Size: 1012 Bytes
Versions: 18
Compression:
Stored size: 1012 Bytes
Contents
require "htmlentities" require "uri" module Asciidoctor module ISO class Converter < Standoc::Converter def clause_parse(attrs, xml, node) node.option? "appendix" and return appendix_parse(attrs, xml, node) super end def scope_parse(attrs, xml, node) attrs = attrs.merge(type: "scope") unless @amd clause_parse(attrs, xml, node) end def appendix_parse(attrs, xml, node) attrs["inline-header".to_sym] = node.option? "inline-header" set_obligation(attrs, node) xml.appendix **attr_code(attrs) do |xml_section| xml_section.title { |name| name << node.title } xml_section << node.content end end def patent_notice_parse(xml, node) # xml.patent_notice do |xml_section| # xml_section << node.content # end xml << node.content end def sectiontype(node, level = true) return nil if @amd super end end end end
Version data entries
18 entries across 18 versions & 1 rubygems