On Nov 10, 9:05 pm, "nate" <[EMAIL PROTECTED]> wrote:
> In the meantime, try copying from the source instead.  It usually
> doesn't have any odd characters.

I found the cause of the problem. The source view has all spaces
converted to &nbsp; entities in the HTML source. Copying the text
retains the encoding of these spaces, and a hexdump confirms it (0xa0
chars instead of the expected 0x20), so it may be that they're just not
visible in your editor:

00000000  63 6c 61 73 73 a0 6f 62  41 75 74 68 43 6f 6d 70
|class.obAuthComp|
00000010  6f 6e 65 6e 74 a0 65 78  74 65 6e 64 73 a0 4f 62
|onent.extends.Ob|
00000020  6a 65 63 74 a0 20 0a 7b  20 0a 0a a0 a0 a0 a0 2f  |ject. .{
....../|
00000030  2a a0 43 6f 6d 70 6f 6e  65 6e 74 a0 63 6f 6e 66
|*.Component.conf|

I don't know what is doing the HTML source formatting for the PHP code,
but a better way to prevent line breaks would be to apply a
white-space:pre or white-space:nowrap CSS style to the block.

While you're at it, there are quite a few small validation errors that
could be fixed easily too.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to