diff options
author | Eric Wong <e@80x24.org> | 2015-07-06 20:52:33 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-07-06 20:54:47 +0000 |
commit | ba91cef345da64ecda294f8f60b70b7de73ea1ec (patch) | |
tree | e4b97ffaaf479f75b4d91c2e668d4060dc7bb479 /t/view.t | |
parent | 3bcaf64163a549772df4e89cdff7522585abe962 (diff) | |
download | public-inbox-ba91cef345da64ecda294f8f60b70b7de73ea1ec.tar.gz |
view: reduce empty <a>, use "id" instead of "name" attributes
This is probably more compliant, and saves us a few bytes on the uncompressed HTML.
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\nname=[^>]+>> Long and wordy/, + like($html, qr/<a\nid=[^>]+>> Long and wordy/, "long quoted text is anchored"); # short page |