diff --git a/html2doc.gemspec b/html2doc.gemspec
index 617ae63..68e3eef 100644
--- a/html2doc.gemspec
+++ b/html2doc.gemspec
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
end
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
+ spec.add_dependency "base64"
spec.add_dependency "htmlentities", "~> 4.3.4"
spec.add_dependency "metanorma-utils", "~> 1.8.0"
spec.add_dependency "mime-types"