Whoops, mis-send, sorry. try again:
> On 23/01/06, David Stanek <[EMAIL PROTECTED]> wrote: > In your example the \n and \t are expected. So embedded tabs are translated in to two unicode character "\" and "t"? The same for newlines? This seems odd, as html condenses white space. Is the a specific reason for this behaviour? Say I have a paragraph like so: [tab][tab]<p>Some fluff text with a reference to a $variable and then a newline[enter] [tab][tab]and then more indented text some</p> Now, I would have thought that you don't want the tab/newline characters to be translated to literal "\t" and "\n" strings in there, you want the actual tab or newline character, which can be ignored by the browser happily. Am I wrong? Is this because kid templates are xml, not html? I have been using the same templates for a few weeks no, and only come across this problem recently. > When this is printed to the browser the characters should be interpreted > correcly. > The \n and \t is just a textual representation of a newline and a tab. When I grab the page using wget, get a utf encoded html file with the literal strings "\t" and "\n". > When you quickstart a project, do you see the \n and \t characters? If I put a tab or newline in to the welcome text on a line containing a $var ref in, yes it does. I actually first noticed when using the toolbox widgets page, not my own application. I then noticed it in my stuff, having been using tg for a couple of months now, and never having seen anything like this before. Thanks for all your help! I may be missing something simple here... -- wavy davy "True religion confronts earth with heaven and brings eternity to bear on time" - A. W. Tozer

