Re: PATCH: don't include text/html in reply, ...
- From: Albrecht Dreß <albrecht dress arcormail de>
- To: Toralf Lund <toralf kscanners com>
- Cc: Balsa-Liste <balsa-list gnome org>
- Subject: Re: PATCH: don't include text/html in reply, ...
- Date: Fri, 24 Aug 2001 16:31:24 +0200
Am 24.08.2001 13:45:25 schrieb(en) Toralf Lund:
> Definitely. It would be nicer still if you could quote the html (preferably
> with the tags removed - like I said, I've submitted some code for this on
> http://bugzilla.gnome.org/show_bug.cgi?id=58915) if, and only if, there
> isn't also a text/plain part with the same content (this happens rather a
> lot, refer to previous discussion.)
The easy way to do this would be calling content2reply() with ignore_html set
to TRUE, and if the returend string is empty, call it again with ignore_html
set to FALSE plus running your code on the reply. However, this might also
fail...
Imagine the following: a mail contains a short text/plain part stating that
the contents is in the following text/html part. How do you decide if these
parts are two representations of the same content or not? I admit that this is
a really screwed up situation, but sometime real life is that way...
Cheers,
Albrecht.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Albrecht Dreß - Monschauer Straße 22 - D-53121 Bonn (Germany)
Phone (+49) 228 6199571 - mailto:albrecht.dress@arcormail.de
_________________________________________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]