user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH] view: explain why we do not use blockquote
@ 2016-01-20 11:30 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-01-20 11:30 UTC (permalink / raw)
  To: meta

Inevitably, somebody will care about semantic HTML; but
preserving the original intent of the email author is
important.
---
 lib/PublicInbox/View.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 0783a1d..be18633 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 <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
-- 
EW


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-20 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20 11:30 [PATCH] view: explain why we do not use blockquote Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).