]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: explain why we do not use blockquote
authorEric Wong <e@80x24.org>
Sat, 16 Jan 2016 04:56:53 +0000 (04:56 +0000)
committerEric Wong <e@80x24.org>
Mon, 18 Jan 2016 11:46:18 +0000 (11:46 +0000)
Inevitably, somebody will care about semantic HTML; but
preserving the original intent of the email author is
important.

lib/PublicInbox/View.pm

index 0783a1d688500baa96390603803dfde252e90f4f..be186333493341491819a5fb0d86a303c54a0173 100644 (file)
@@ -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 <blockquote> 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