On 1/22/06, Wavy Davy <[EMAIL PROTECTED]> wrote:

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?

It's not that they are two unicode characters. A '\n' represents a newline. Try typing 'print "This is\twhat I\nmean."' into a interactive Python session. 

 

>  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.

Very interesting. I have not been able to duplicate this behavior.

-- David

Reply via email to