Sha256: 8fa485262fead54417dbd63b42acbbb0451fa5f65b9eb73ed23e647853d0e4f3
Contents?: true
Size: 1.21 KB
Versions: 18
Compression:
Stored size: 1.21 KB
Contents
require "isodoc" require "isodoc/generic/html_convert" require_relative "base_convert" require_relative "init" module IsoDoc module M3AAWG class HtmlConvert < IsoDoc::Generic::HtmlConvert def configuration Metanorma::M3AAWG.configuration end def colophon(body, _docxml) body.div **{ class: "colophon" } do |div| div << <<~"COLOPHON" <p>As with all M<sup>3</sup>AAWG documents that we publish, please check the M<sup>3</sup>AAWG website (<a href="http://www.m3aawg.org">www.m3aawg.org</a>) for updates to this paper.</p> <p>© #{@meta.get[:docyear]} copyright by the Messaging, Malware and Mobile Anti-Abuse Working Group (M<sup>3</sup>AAWG)</p> COLOPHON end end def make_body(xml, docxml) body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72", "xml:lang": "EN-US", class: "container" } xml.body **body_attr do |body| make_body1(body, docxml) make_body2(body, docxml) make_body3(body, docxml) colophon(body, docxml) end end include BaseRender include Init end end end
Version data entries
18 entries across 18 versions & 1 rubygems