metanorma-bipm 2.1.4 → 2.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,12 @@ module IsoDoc
18
18
  def i18n_init(lang, script, i18nyaml = nil)
19
19
  @i18n = I18n.new(lang, script, i18nyaml: i18nyaml || @i18nyaml)
20
20
  end
21
+
22
+ def omit_docid_prefix(prefix)
23
+ return true if %w(BIPM).include? prefix
24
+
25
+ super
26
+ end
21
27
  end
22
28
  end
23
29
  end