nbsp; Non-breaking space.

2013-05-04 Thread Tim Hill

#1096

I included a list of names on a webpage the other day and my co-editor
doesn't like to see name split across a line. I agree: when lines are
long a split name looks silly when you can easily place a non-breaking
space between forename and surname. Browsers know not to split a line at
a non-breaking space, don't they? Except Netsurf? 

I have not reported this as a bug (yet) because I expect a crescendo of
we know!

See the production crew near the foot of the page. All the names have
nbsp; in them: 
http://www.youngtheatre.co.uk/archive/199209_blithespirit/

(One aspect of line endings I see does seem to be fixed and that was the
spurious line feeds which I saw in tables. Hurrah for that!!)




Re: nbsp; Non-breaking space.

2013-05-04 Thread Brian Bailey


 #1096

 I included a list of names on a webpage the other day and my co-editor
 doesn't like to see name split across a line. I agree: when lines are
 long a split name looks silly when you can easily place a non-breaking
 space between forename and surname. Browsers know not to split a line at
 a non-breaking space, don't they? Except Netsurf? 

 I have not reported this as a bug (yet) because I expect a crescendo of
 we know!

 See the production crew near the foot of the page. All the names have
 nbsp; in them: 
 http://www.youngtheatre.co.uk/archive/199209_blithespirit/

 (One aspect of line endings I see does seem to be fixed and that was the
 spurious line feeds which I saw in tables. Hurrah for that!!)

Not sure if you are or aren't saying that you are unhappy with the end
result. I'm no expert but isn't something odd happening round the last ''
where the ';' doesn't show. Is that forcing the surname to the next line,
perhaps??




Re: nbsp; Non-breaking space.

2013-05-04 Thread Tim Hill
In article 534696f6bcbbai...@argonet.co.uk, Brian Bailey
bbai...@argonet.co.uk wrote:


  #1096

  I included a list of names on a webpage the other day and my
  co-editor doesn't like to see name split across a line. I agree: when
  lines are long a split name looks silly when you can easily place a
  non-breaking space between forename and surname. Browsers know not to
  split a line at a non-breaking space, don't they? Except Netsurf? 

  I have not reported this as a bug (yet) because I expect a crescendo
  of we know!

  See the production crew near the foot of the page. All the names have
  nbsp; in them:
  http://www.youngtheatre.co.uk/archive/199209_blithespirit/

  (One aspect of line endings I see does seem to be fixed and that was
  the spurious line feeds which I saw in tables. Hurrah for that!!)

 Not sure if you are or aren't saying that you are unhappy with the end
 result.

I would prefer it if Netsurf would treat nbsp; as the special kind of
space it is and not break lines at it.


 I'm no expert but isn't something odd happening round the last
 '' where the ';' doesn't show. Is that forcing the surname to the next
 line, perhaps??
 
I don't think so. The semi-colon at the end of most names is just that, a
semi-colon. Using commmas, no punctuation or missing one off a couple of
names doesn't make any difference. All the nbsp; and the amp; entities
are intact.

Just a bare-bones list of random words separated in pairs with only
nbsp; between the words of each pair still has linebreaks at the nbsp;
where it shouldn't. There is nothing special about the list of names I
was using. More's the pity.




Re: nbsp; Non-breaking space.

2013-05-04 Thread Richard Porter
On 4 May 2013 Tim Hill  wrote:

  Browsers know not to split a line at
 a non-breaking space, don't they? Except Netsurf?

 I have not reported this as a bug (yet) because I expect a crescendo of
 we know!

Yes it's a long-standing bug. NS will break a line at any escaped 
character, tag or non-alphanumeric character regardless of whether it 
represents white space. There's no harm in raising another bug report 
though. You could try using nobr though I expect someone will say 
it's deprecated.

-- 
Richard Porterhttp://www.minijem.plus.com/
  mailto:r...@minijem.plus.com
I don't want a user experience - I just want stuff that works.



Re: nbsp; Non-breaking space.

2013-05-04 Thread John Harrison

   Browsers know not to split a line at
  a non-breaking space, don't they? Except Netsurf?

 Yes it's a long-standing bug.

I assume 'long standing' only relates to 3.x.  2.9 behaves correctly.

-- 
John Harrison
Website http://jaharrison.me.uk



Re: nbsp; Non-breaking space.

2013-05-04 Thread Richard Porter
On 4 May 2013 John Harrison  wrote:

  Browsers know not to split a line at
 a non-breaking space, don't they? Except Netsurf?

 Yes it's a long-standing bug.

 I assume 'long standing' only relates to 3.x.  2.9 behaves correctly.

I first reported it on 25th March 2006 (1458451 still open). More like 
0.x! I wasn't aware that it ever worked correctly. However that report 
wasn't specific to nbsp;.

-- 
Richard Porterhttp://www.minijem.plus.com/
  mailto:r...@minijem.plus.com
I don't want a user experience - I just want stuff that works.