ref: 7bafd6ddf7249311dff411162a9a36bd1c6add9a
parent: 8c33a464e4b531bae179ccca131243f4c23ac4d5
author: fops <billgates@cock.li>
date: Wed Oct 8 10:15:19 EDT 2025
Fix broken HTML in test case
--- a/renderer_test.go
+++ b/renderer_test.go
@@ -31,7 +31,7 @@
{"<pre>hello <a href=\"https://example.com\">world</a></pre>", "hello (world) [1]"}, // TODO: Verify that this is correct {"<pre>hello & world</pre>", "hello & world"},// Mentions
- {"<p>hello <a href=\"https://example.com\" class=\"mention\"are usernames irrelevant</a>world</p>", "hello world"}, // TODO: Verify that this is correct+ {"<p>hello <a href=\"https://example.com\" class=\"mention\">username</a> world</p>", "hello username world"},// a without href
{"<p>hello <a>world</a></p>", "hello [1]"}, // TODO: this is probably wrong}
--
⑨