Re: [css3-text] White space defined

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 UTC