• Guido van Rossum's avatar
    Three sets of changes from Grail: · 8e44991b
    Guido van Rossum yazdı
    date: 1996/08/14 17:27:21;  author: fdrake;  state: Exp;  lines: +11 -9
    (formatter.py):  Establish a consistent space-handling policy, so that all
            spaces are handled by the outermost context in which they might be
            considered.  (I.e., softspaces at element boundaries migrate
            outwards.)
    
            For instance: "<A> <IMG> </A>" becomes " <A><IMG></A> ".
    
            This avoids some of those nasty underlined spaces around images.  It
            does not affect spaces *between* images within an anchor.
    
    date: 1996/08/01 17:02:09;  author: fdrake;  state: Exp;  lines: +3 -2
    (formatter.py):  Added required parameter to the NullFormatter class; this
            was omitted by accident.
    
            Made AbstractFormatter.add_literal_data() handle preceeding softspace
            correctly instead of expecting the caller to do it.
    
    date: 1996/07/23 22:18:56;  author: fdrake;  state: Exp;  lines: +1 -1
    (formatter.py):  Correct assert_line_data() to update all internal conditions;
            This now handles headers with only image content immediately followed
            by anything.
    8e44991b
formatter.py 10.8 KB