W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

Bug: Unwanted newlines in OBJECT, IMG

From: Robin Whittle <rw@firstpr.com.au>
Date: Wed, 01 Nov 2006 14:14:51 +1100
Message-ID: <4548112B.10104@firstpr.com.au>
To: Amaya Discussion List <www-amaya@w3.org>

In the latest CVS code, I find that the problem of an unwanted newline
after the <img ...> and <object ..> tags has been resolved.  Thanks!!

Looking at the CVS changes:

  http://dev.w3.org/cvsweb/Amaya/amaya/

I see fix was in HTMLT.T 5 days ago - I hadn't compiled the source since
then.  The changes between:

http://dev.w3.org/cvsweb/Amaya/amaya/HTMLT.T.diff?r1=1.172&r2=1.174&f=h

affected "Applet", Embed_", "Object", "IMG" and "Image_Input".

All these changes involved removing a newline '\12'.  At present, the
relevant lines for:  IMG, Image_Input and Embed are:

    Create ' />';
or  Create '>';


For Object, they are:

    Create '>\12';          <<<<< Looks suspicious - a newline.
    Indent +2;
    Indent -2 After;
    create SCT after;
    Create 'object>' After;	


For Applet they are:

    Create 'applet';
    Create Attributes;
    Create '>';            <<< Note, '\12' removed recently.
    create SCT after;
    Create 'applet>' After;	


  - Robin
Received on Wednesday, 1 November 2006 03:23:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:37 UTC