Hello, and thanks for you great QuickQuote extension!
I have one serious problem with it though. Consider the following text
being sent to you in an email:
----------8<------------8<----------
This is an example of a long line that has for some reason been split up
with hard linebreaks (e.g. by some stupid email client software), and it
will thus look very ugly when being quoted (an re-wrapped) in the latest
version of Quick Quote.
----------8<------------8<----------
When I quote this message in QuickQuote with the "Rewrap quoted text to
col (72)" option enabled, the result is the following very ugly mess:
----------8<------------8<----------
> This is an example of a long line that has for some reason been split
> up
> with hard linebreaks (e.g. by some stupid email client software), and
> it
> will thus look very ugly when being quoted (an re-wrapped) in the
> latest
> version of Quick Quote.
----------8<------------8<----------
To solve this problem I suggest an option called something like "Ignore
single linebreaks when rewrapping", which will, as it sounds,
ignore/delete all single linebreaks when rewrapping the quoted text, but
still keep any double linebreaks (which is the normal way to separate
paragraphs in emails).
When this option is enabled, the result of the above quote would instead be:
----------8<------------8<----------
> This is an example of a long line that has for some reason been split
> up with hard linebreaks (e.g. by some stupid email client software),
> and it will thus look very ugly when being quoted (an re-wrapped) in
> the latest version of Quick Quote.
----------8<------------8<----------
And, if the original text would instead be the following:
----------8<------------8<----------
This is an example of a long line that has for some reason been split up
with hard linebreaks (e.g. by some stupid email client software), and it
will thus look very ugly when being quoted (an re-wrapped) in the latest
version of Quick Quote.
This is a second paragraph, which is also a long row which has of course
also been split up by the same stupid email client software, and will be
messed up the same way when quoted/re-wrapped.
----------8<------------8<----------
The result would be:
----------8<------------8<----------
> This is an example of a long line that has for some reason been split
> up with hard linebreaks (e.g. by some stupid email client software),
> and it will thus look very ugly when being quoted (an re-wrapped) in
> the latest version of Quick Quote.
>
> This is a second paragraph, which is also a long row which has of
> course also been split up by the same stupid email client software,
> and will be messed up the same way when quoted/re-wrapped.
----------8<------------8<----------
As you see, the double linebreak which constitutes the paragraph
separation is retained, while all single linebreaks at normal line-ends
have been removed before the text is rewrapped! Simple algorithm, but a
beautiful result!
Pretty optimal, don't you agree? Sadly, there are many of these stupid
email clients out there, that split up long rows with hard linebreaks
before sending the mail, so quotes _often_ look very ugly like in the
first example. This is actually the entire reason that I found your
extension, seeking a solution to this problem! And you already come so
close with your existing rewrapping feature. This final addition would
make it perfect!
Pleeeeease consider this carefully, it would be such a great (and yet
simple) addition!
Regards,
Magnus
_______________________________________________
QuickQuote mailing list
QuickQuote@...
http://mozdev.org/mailman/listinfo/quickquote