diff --git a/lib/openhab/yard/html_helper.rb b/lib/openhab/yard/html_helper.rb
index 0fcc533fb6..3f87ec7f73 100644
--- a/lib/openhab/yard/html_helper.rb
+++ b/lib/openhab/yard/html_helper.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
require "nokogiri"
+require "uri"
module OpenHAB
module YARD