From: Eric Wong Date: Sat, 16 Jan 2016 04:56:53 +0000 (+0000) Subject: view: explain why we do not use blockquote X-Git-Tag: v1.0.0~739 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=676bcacf7bbb42b92d82a573679ec15b08444c9f;p=public-inbox.git view: explain why we do not use blockquote Inevitably, somebody will care about semantic HTML; but preserving the original intent of the email author is important. --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 0783a1d6..be186333 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -314,6 +314,9 @@ sub linkify_2 { sub flush_quote { my ($quot, $n, $part_nr, $full_pfx, $final, $do_anchor) = @_; + # n.b.: do not use
since it screws up alignment + # w.r.t. unquoted text. Repliers may rely on pre-formatted + # alignment to point out a certain word in quoted text. if ($full_pfx) { if (!$final && scalar(@$quot) <= MAX_INLINE_QUOTED) { # show quote inline