diff --git a/src/domain/session/room/timeline/linkify/linkify.js b/src/domain/session/room/timeline/linkify/linkify.js index 632918e6..f74dfa44 100644 --- a/src/domain/session/room/timeline/linkify/linkify.js +++ b/src/domain/session/room/timeline/linkify/linkify.js @@ -109,6 +109,12 @@ export function tests() { "Link with unicode after fragment without path must linkify": assert => { testLink(assert, "https://foo.bar.com#\uD83D\uDE03"); + }, + + "Link ends with <": assert => { + const link = "https://matrxi.org"; + const out = [{ type: "link", text: link }, { type: "text", text: "<" }]; + test(assert, link, out); } }; }