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

Bug: New option - Keep multiple spaces

From: Robin Whittle <rw@firstpr.com.au>
Date: Wed, 01 Nov 2006 15:03:22 +1100
Message-ID: <45481C8A.2010905@firstpr.com.au>
To: Amaya Discussion List <www-amaya@w3.org>

Here is a summary of relatively minor problems I have found with the
"Keep multiple spaces" option.

As noted previously ("New option - Keep multiple spaces" 17 Oct):

Where there is a single space either at the start of the line or at the
end.  In these cases Amaya currently inserts a single ordinary space.
This appears fine in Amaya, but it does not, and as far as I know should
not, produce a visible space in a browser or editor such as Mozilla.  I
think the correct response should be to use a single non-breaking space.

A workaround for this, when typing rather than pasting text, is to press
Space twice and then use backspace.  This leaves a single non-breaking

Also, inserting a space in the middle of a line of:

  "~~~~~~~~ "

will create:

  "~~~ ~~~~~ "

This one is pretty obscure, If I generate a line of 6 spaces:

  <p>~~~~~ </p>

and insert an image in the middle of it, I get:

 <p>~~~<img alt="Blah" src="test.jpg" />~~ </p>

when it would be better to have:

 <p>~~ <img alt="Blah" src="test.jpg" />~~ </p>

Similarly, I get:

<p>~~~<img alt="A nice long description too . . ."
src="test-image-with-a-nice-long-name.jpg" />~~ </p>

In this case if I add something like a border style:

<p>~~~<img alt="A nice long description too . . ."
src="test-image-with-a-nice-long-name.jpg" style="border: 0px" />~~</p>

A space has been lost on the right.

 - Robin
Received on Wednesday, 1 November 2006 04:03:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:52 UTC