about summary refs log tree commit homepage
path: root/t/view.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-20 02:30:28 +0000
committerEric Wong <e@80x24.org>2015-08-20 02:31:35 +0000
commit0ccdf0171d4ee715352feec69a1ed330326dfe1a (patch)
tree92147c7ee4df49d7e1745e71c2d5f3a3225b9aff /t/view.t
parent09b1fc82d53228212805b7e26aa1d4bf381cecd6 (diff)
downloadpublic-inbox-0ccdf0171d4ee715352feec69a1ed330326dfe1a.tar.gz
view: avoid nesting <a> tags from auto-linkification
It is wrong HTML to have <a> tags nested due to auto-linkification.
Diffstat (limited to 't/view.t')
-rw-r--r--t/view.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/view.t b/t/view.t
index 463fc076..ca456aab 100644
--- a/t/view.t
+++ b/t/view.t
@@ -47,7 +47,7 @@ EOF
         like($html, qr!<a\nhref="\.\./m/hello%40!s, "MID link present");
         like($html, qr/hello world\b/, "body present");
         like($html, qr/&gt; keep this inline/, "short quoted text is inline");
-        like($html, qr/<a\nid=[^>]+>&gt; Long and wordy/,
+        like($html, qr/<a\nid=[^>]+><\/a>&gt; Long and wordy/,
                 "long quoted text is anchored");
 
         # short page