diff --git a/app/src/test/java/eu/faircode/email/HtmlHelperTest.java b/app/src/test/java/eu/faircode/email/HtmlHelperTest.java
index aeb1fdf1bd..f71011dc78 100644
--- a/app/src/test/java/eu/faircode/email/HtmlHelperTest.java
+++ b/app/src/test/java/eu/faircode/email/HtmlHelperTest.java
@@ -46,6 +46,15 @@ class HtmlHelperTest {
// FIXME: The < must be encoded as <.
"Go to <http://example.org/>."
);
+
+ testAutolink(
+ "http://example.org/ and http://example.org/subdir/",
+
+ // FIXME: Each URL must be linked to its exact address, not just to a prefix.
+ "" +
+ "http://example.org/ and " +
+ "http://example.org/subdir/"
+ );
}
private void testAutolink(String input, String expectedOutput) {