Re: Breaking space in an [$ if $] block

2007-06-26 Thread __cliff rayman__
It has to do with HTML, not Embperl. Generally, whitespace in an HTML document is ignored. The &32; or otherwise written as &nsbsp; is a non-breaking space and specifically not ignored. Cliff Michael Smith wrote: works great. Didn't know I could do that. Many thanks. Out of interest fo

Re: Breaking space in an [$ if $] block

2007-06-26 Thread Ed Grimm
  is the same as  .is a normal space. Incidentally, for indivuals trying to compress their documents as much as possible without resorting to techniques such as server-side stream decompression, using a litteral ' ' character (chr(160)) is also the same as  . I would personally advise against

Re: Breaking space in an [$ if $] block

2007-06-26 Thread Michael Smith
Hi Gavin, I guess I need to find IE to check this, but on firefox allows wrapping, as per: http://dev.savingforchildren.co.uk/mjs/testspace.epl Michael On 6/26/07, Gavin Spomer <[EMAIL PROTECTED]> wrote: is the same as   (hopefully your email program will not escape what I'm showing you

Re: Breaking space in an [$ if $] block

2007-06-26 Thread Gavin Spomer
is the same as   (hopefully your email program will not escape what I'm showing you like mine did) Weren't you trying to avoid using  ? - Gavin >>> Michael Smith <[EMAIL PROTECTED]> 06/26/07 1:47 AM >>> works great. Didn't know I could do that. Many thanks. Out of interest for a deeper

Re: Breaking space in an [$ if $] block

2007-06-26 Thread Michael Smith
works great. Didn't know I could do that. Many thanks. Out of interest for a deeper understanding of embperl, why doesn't a regular space do the trick? Thanks Michael On 6/25/07, Lars Kelto <[EMAIL PROTECTED]> wrote: He wants it conditional on the if. Try: ABC[$ if (1==1) $] [$ endif

Re: [SPAM] Breaking space in an [$ if $] block

2007-06-26 Thread Michael Smith
Thanks guys Actually I wanted the space to be conditional - ie for the code to putput ABC123 sometimes and ABC 123 at other times. So I need the space to be in an [$ if $] block On 6/25/07, Gavin Spomer <[EMAIL PROTECTED]> wrote: Not quite sure what you mean by "breakable" space (as in