Re: Loss of newline when using directiveStartToken and commentStartToken
"R. Tyler Ballance" <[email protected]> Tue, 4 Aug 2009 09:03:50 -0700
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <20090804160350.GD12561@starfruit> |
On Tue, 04 Aug 2009, Jonathan Giddy wrote: > > > I am finding that whitespace goes missing after "blank" comment lines. > > Instead of being passed through as literals, the text "# \n" becomes "", > > and "## \n" becomes "#". Any spaces before the newline are also > > swallowed up. > > > I have discovered the existence of the compiler setting EOLSlurpToken. > Adding > EOLSlurpToken = None > to the compiler settings fixed the problem. I just didn't realise that > the docs on the website were for pre-2.0. Yeah, the documentation on the website is a little behind the times to say the least. I've been slowly working on Sphinx-based documentation, but Cheetah certainly has a wide number of options and configurations to document ;) Glad you found what you needed :) > > Thanks, > Jon. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Cheetahtemplate-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss -R. Tyler Ballance Slide, Inc. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Cheetahtemplate-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkp4W+YACgkQFCbH3D9R4W/PHgCfaFF0xvYhhCN2z/HeMHu+DyXk MdcAn0mgW2AqBz1xe+r9B2VirIX7cTDr =xEgF -----END PGP SIGNATURE-----