how to add non breaking space ?

Fabien Steinmetz fabien.st at netcourrier.com
Thu Apr 18 16:16:24 PDT 2002


Thanks very much for that fast reply and patch. I really appreciate it.

Fabien

"Neven Has" <haski at sezampro.yu> a écrit dans le message de news:
20020418210454.A675 at farm...
> On Thu, Apr 18, 2002 at 06:26:01PM +0200, Fabien Steinmetz wrote:
> > Adding a non breaking space in my profiles is quite difficult I
> > notices. The   doesn't work If I use &U00A0; or, &UA0;, or &xA0;
> > it doesn't work as expected, in fact it adds a space, but another
> > character before the space.
>
> It's not a XML issue...
>
> > I want to do that because I use <setenv mode="append"> and want my
> > spaces in my <value> abc </value> tag to be really present, not that
> > it disappears when I am in nALFS.
>
> ....it's a nALFS one. All leading and trailing white space in
> element's content is trimmed. I never thought it could hurt anyone,
> but it obviously does.
>
> I'll remove that trimming for the next version, although then all
> handlers that don't need it will have to trim it them selves. Not very
> pretty, but I guess it does make more sense that a way - they'll be more
> independent that way, not relaying on the main code stripping their
> beloved space. ;)
>
> In the mean time, you can apply the attached patch. Just note that
> with this patch, nALFS will leave _all_ element content's white space,
> which might (or not) cause some problems when multi-line content is used
> (for example).
>
>
> Neven
>


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe alfs-discuss' in the subject header of the message



More information about the alfs-discuss mailing list