Sha256: 6e53f28f49bbc8ee9238da967a2cd110b4e2d3a5c314341dd1f51c2cddf6908d
Contents?: true
Size: 812 Bytes
Versions: 24
Compression:
Stored size: 812 Bytes
Contents
require "isodoc" require "metanorma-iso" require_relative "base_convert" module IsoDoc module Iec class HtmlConvert < IsoDoc::Iso::HtmlConvert def initialize(options) super @libdir = File.dirname(__FILE__) end def default_file_locations(options) @libdir = File.dirname(__FILE__) { htmlstylesheet: html_doc_path("htmlstyle.scss"), htmlcoverpage: html_doc_path("html_iec_titlepage.html"), htmlintropage: html_doc_path("html_iec_intro.html"), scripts: html_doc_path("scripts.html"), } end def htmlstyle(docxml) docxml = super b = docxml.at("div[@class = 'boilerplate_legal']/ol") b and b["type"] = "1" docxml end include BaseConvert end end end
Version data entries
24 entries across 24 versions & 1 rubygems