lib/isodoc/generic/html_convert.rb in metanorma-generic-1.9.0 vs lib/isodoc/generic/html_convert.rb in metanorma-generic-1.10.0

- old
+ new

@@ -46,11 +46,10 @@ html_doc_path("htmlstyle.scss"), htmlcoverpage: baselocation(configuration.htmlcoverpage) || html_doc_path("html_generic_titlepage.html"), htmlintropage: baselocation(configuration.htmlintropage) || html_doc_path("html_generic_intro.html"), - scripts: baselocation(configuration.scripts) || - html_doc_path("scripts.html"), + scripts: baselocation(configuration.scripts), i18nyaml: (configuration.i18nyaml.is_a?(String) ? baselocation(configuration.i18nyaml) : nil) }.transform_values { |v| v&.empty? ? nil : v } end