lib/isodoc/generic/html_convert.rb in metanorma-generic-1.5.1 vs lib/isodoc/generic/html_convert.rb in metanorma-generic-1.6.0
- old
+ new
@@ -1,6 +1,7 @@
require_relative "base_convert"
+require_relative "init"
require "isodoc"
module IsoDoc
module Generic
@@ -49,13 +50,16 @@
Metanorma::Generic.configuration
end
def googlefonts
return unless configuration.webfont
- Array(configuration.webfont).map { |x| %{<link href="#{x.gsub(/\&/, '&')}" rel="stylesheet">} }.join("\n")
+ Array(configuration.webfont).map do |x|
+ %{<link href="#{x.gsub(/\&/, '&')}" rel="stylesheet">}
+ end.join("\n")
end
include BaseConvert
+ include Init
end
end
end