Re: outlook/word ugliness

From: Bjarni R. Einarsson (
Date: Wed 08 Aug 2001 - 10:20:19 UTC

  • Next message: Brien Oberstein: "RE: outlook/word ugliness"

    On 2001-08-07, 19:17:18 (-0400), Brien Oberstein wrote:
    > hi,
    > i'm not sure if this is a bug per se, but mail received from outlook xp
    > using word as the editor in html format looks very ugly. i've attached
    > an example. i'm using anomy 1.35. i'd really appreciate any hints on
    > how to configure or patch anomy to handle this!

    No, this is a known issue with the sanitizer, inherited from John
    Hardin's procmail ruleset.

    It has to do with the defanging of <S*YLE>...</STY*E> blocks, which
    were invented by someone with no clue of HTML design philosopy.
    Instead of the style settings being attributes or "funny tags" they
    are simply written out as a CSS definition following the <S*YLE> tag
    - when the <STY*E> tag gets defanged, the CSS info is revealed as
    text where it used to be invisible.

    The reason this is all so stupid is /the exact same thing happens/ if
    the un-defanged HTML is viewed in a browser that doesn't know about
    STYLE tags.

    I've been planning to do something about this (comment out the
    contents of STYLE blocks if possible), but haven't gotten around to
    it yet.

    Perhaps before the next release.

    If this really bugs you, you could always remove the STYLE tag from
    the list of defanged tags in the file.

    Bjarni R. Einarsson                           PGP: 02764305, B7A3AB89                -><-    

    Check out my open-source email sanitizer:

    hosted by