diff --git a/spec/ddg_apple_automation_helper_spec.rb b/spec/ddg_apple_automation_helper_spec.rb
index f6ec551..41b4563 100644
--- a/spec/ddg_apple_automation_helper_spec.rb
+++ b/spec/ddg_apple_automation_helper_spec.rb
@@ -62,6 +62,11 @@ def load_file(file)
expect(sanitize_html_and_replace_env_vars(content)).to eq("
Hello, World!\n This is a test.
")
end
+ it "preserves HTML-escaped characters" do
+ content = "Hello -> World!"
+ expect(sanitize_html_and_replace_env_vars(content)).to eq("Hello -> World!")
+ end
+
def sanitize_html_and_replace_env_vars(content)
Fastlane::Helper::DdgAppleAutomationHelper.sanitize_html_and_replace_env_vars(content)
end