is there any progress on that?
i have exactly the same problem in my project.
but in quickstarted one - it doesn't happen!

Wavy Davy wrote:
> On 23/01/06, David Stanek <[EMAIL PROTECTED]> wrote:
> >
> > 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.
>
> Attached is the input template file and the file I get when output. It
> is from a slightly modified quickstart project (Inserted tabs and
> newlines in the line containing the $now time reference).
>
> It is *two* seperate characters, a '\'  (0x2f) and 't' (0x74) or 'n' (0x6e).
>
> in template tab char 0x09 => 0x2f + 0x74 in generated output
> in template newline char 0x0a => 0x2f + 0x6e in generated output
>
> Apologies if I haven't been clear.
>
> > > 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.
>
> I have certainly not seen in before. It looks like it might be
> something to do with my setup. I am running Ubuntu Dapper development
> release, but it has been running on this before for some time without
> this problem.
>
> --
> wavy davy
>
> "True religion confronts earth with heaven
> and brings eternity to bear on time"
>  - A. W. Tozer
>
>    Welcome to TurboGears  #pageLogin { font-size: 10px; font-family: verdana; 
> text-align: right; }
>
> Congratulations, your TurboGears application is running as of\tMon Jan 23 
> 15:57:03 2006.\n\t
> Are you ready to Gear Up?
>
>
> Take the following steps to dive right in:
> *Edit your project's model.py to create SQLObjects representing the data 
> you're working with
> *Edit your dev.cfg file to point to the database you'll be using
> *Run "tg-admin sql create" to create the tables in the database
> *Edit controllers.py to add the functionality to your webapp
> *Change the master.kid template to have the headers and footers for your 
> application.
> *Change this template or create a new one to display your data
> *Repeat steps 4-6 until done.
> * *Profit!*
>
> If you haven't already, you might check out some of the documentation.
>
> Thanks for using TurboGears! See you on the mailing list and the "turbogears" 
> channel on irc.freenode.org!
> 
>  [img]    
> ><br>Build time: 0.197s, Page size: 1.69KB

Reply via email to