W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: [css3-text] White space defined

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 07 Jan 2012 15:15:42 -0500
Message-ID: <4F08A7EE.5020305@inkedblade.net>
To: www-style@w3.org, "Belov, Charles" <Charles.Belov@sfmta.com>
On 05/09/2011 02:28 PM, Belov, Charles wrote:
> defines white space as including nbsp (U+00A0).
> http://www.w3.org/TR/css3-text/#white-space-rules
> defines white space as not including nbsp.
>
> Word-to-filtered-HTML conversion tends to include
> a lot of extra nbsp's that I don't want.  I would
> like to be able to specify that bikeshedding also
> included nbsp's, or, if you wanted to make it more
> generic, the ability to specify a list of characters
> I also wanted bikeshedding to apply to.
>
> Yes, I know ideally removal of extra nbsp's from the
> source document is something that I would do, but it
> is currently a manual process and time-consuming.

Write a perl script. Then it won't be manual. :)

The purpose of collapsing white space is to allow source code
to be formatted. I think it's important to keep this scope,
rather than expand it to fix up output from broken tools.

~fantasai
Received on Monday, 9 January 2012 21:50:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT