W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2005

Re: BUG: NBSP character not displayed in text editors

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Thu, 30 Jun 2005 14:24:13 +0200
To: "Thomas Jedenfelt" <thomas_jedenfelt_1@operamail.com>
Cc: www-amaya@w3.org
Message-Id: <200506301424.13345.vatton@inrialpes.fr>

Le Jeudi 30 Juin 2005 11:50, Thomas Jedenfelt a écrit :
> Amaya 8.7.4 for PC Windows Xp.
> The character NBSP (non-breaking space, #160) is not displayed when viewing
> the Web page's source code in EditPad, MS Note/WordPad and Firefox 1.04
> View Source. The NBSP character is replaced, it seems, with a normal space
> (#32).

NBSP is a non-breaking space and is normally displayed as a space. Only the 
formatting algorithm should interpert it differently.
Amaya displays it as a space in the formatted view and shows a colored tilde 
in the source view only to help the user to localize it.

> The NBSP character is generated (in Amaya) by Ctrl + Space key, and is
> indicated in Amaya View Source as a Tilde(-like?) character.
> When editing a Web page (created in Amaya) with a text editor, the NBSP is
> saved as a normal space.

The text editor should keep it as a non-breaking space even if it displays it 
as a simple space. I suspect the text editor doesn't do any complex 

> The W3C Validator also show a normal space in the 'Source Listing'.
> Regards,
> Thomas Jedenfelt

Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Thursday, 30 June 2005 12:25:48 UTC

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