Re: BUG: NBSP character not displayed in text editors

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 
formatting.

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

-- 
     Irène.
-----
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