Hi there,

A slight upgrade niggle...

This code was fine in the 4.6 site.

<A HREF="?q=aboutus">About Us</A> &nbsp &nbsp &nbsp
<A HREF="?q=funding">Funding</A> &nbsp &nbsp &nbsp
<A HREF="?q=privacy">Privacy Statement</A> &nbsp &nbsp &nbsp

But now the &nbsp string prints instead of the expected whitespace .

Does this block no longer support HTML input?

Could I make it accept it somehow anyway by temp changing input settings?

I tried typing the required whitespace in by hand but it seems to strip it.

Suggestions NEbody??

:-/

r0g

Comments

drupal777’s picture

I'm not sure, but I thought &nbsp needs the semi-colon after it to be interpreted as html.

Just as an aside, I hate non-breaking spaces. Seems like a fragile construct guaranteed to break when you least want it to. Have you looked into changing your css to accomodate what you are attempting to accomplish?

dman’s picture

I'm guessing the upgrade has gone to xhtml strict or something :)
The bad code is no longer being 'fixed' by quirksmode.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

r0g’s picture

Cool. That's sorted it, thanks v.much :0D

I did try and do this with CSS a couple of months back and I recall not being able to find a convenient tag to hang the style from at that time. My CSS is it bit better these days (as is Drupal!) so I might have another go someday but, at the moment, expediency must take priority over idealism.

Thanks again :-)

r0g’s picture

Now I look at it the CSS seems pretty trivial...

# footer A {
  padding-left : 3em;
  padding-right : 3em;
  }

Duh!

Love it :-)

drupal777’s picture

Wonderful!