diff options
author | Eric Wong <e@80x24.org> | 2016-04-13 03:04:11 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-04-13 03:04:41 +0000 |
commit | e06797ae541b8fcb65030531d854184e7ba2c70d (patch) | |
tree | 875656cc102facd1b44710366af9cd0d3fb8d480 /t/view.t | |
parent | 27da06a699bd6cb527864827b7a067d637208d30 (diff) | |
download | public-inbox-e06797ae541b8fcb65030531d854184e7ba2c70d.tar.gz |
Quote-folding can be detrimental as it fails to hide the real problem of over-quoting. Over-quoting wastes bandwidth and space for all readers, not just WWW readers of the public-inbox. So hopefully removing quote-folding support from the WWW interface can shame those repliers into quoting only relevant portions of what they reply to.
Diffstat (limited to 't/view.t')
-rw-r--r-- | t/view.t | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -49,18 +49,6 @@ EOF like($html, qr/> keep this inline/, "short quoted text is inline"); like($html, qr/<a\nid=[^>]+><\/a>> Long and wordy/, "long quoted text is anchored"); - - # short page - my $pfx = "../hello%40example.com/f/"; - $mime = Email::MIME->new($s); - my $short = PublicInbox::View::msg_html(undef, $mime, $pfx); - like($short, qr!<a\nhref="\.\./hello%40example\.com/f/!s, - "MID link present"); - like($short, qr/\n> keep this inline/, - "short quoted text is inline"); - like($short, qr/<a\nhref="\Q$pfx\E#[^>]+>Long and wordy/, - "long quoted text is made into a link"); - ok(length($short) < length($html), "short page is shorter"); } # multipart crap |