lib/isodoc/function/cleanup.rb in isodoc-2.2.3.1 vs lib/isodoc/function/cleanup.rb in isodoc-2.3.0
- old
+ new
@@ -12,10 +12,10 @@
[a[0], a[2]]
end.join
end
def cleanup(docxml)
- @i18n ||= i18n_init(@lang, @script)
+ @i18n ||= i18n_init(@lang, @script, @locale)
comment_cleanup(docxml)
footnote_cleanup(docxml)
inline_header_cleanup(docxml)
figure_cleanup(docxml)
table_cleanup(docxml)