diff options
author | Eric Wong <e@80x24.org> | 2015-08-20 02:30:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-20 02:31:35 +0000 |
commit | 0ccdf0171d4ee715352feec69a1ed330326dfe1a (patch) | |
tree | 92147c7ee4df49d7e1745e71c2d5f3a3225b9aff /t/view.t | |
parent | 09b1fc82d53228212805b7e26aa1d4bf381cecd6 (diff) | |
download | public-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.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/> keep this inline/, "short quoted text is inline"); - like($html, qr/<a\nid=[^>]+>> Long and wordy/, + like($html, qr/<a\nid=[^>]+><\/a>> Long and wordy/, "long quoted text is anchored"); # short page |