Graham Dumpleton
grahamd at dscpl.com.au
Tue Nov 8 17:16:38 EST 2005
Anton wrote .. > Here is a result of @including: > http://anton.lihost.org/c.py?page=01-getopt > "\n"s inside printf function were replaced by new lines > > Here is the source: > http://anton.lihost.org/c/01-getopt.c.html > > $ cat templates/c/01-getopt.tmpl > ... > <%@ include file="../../c/01-getopt.c.html" %> > ... > > mod_python/3.2.0b Python/2.3.5 To save people digging through this stuff to work out what it is about, here is a more succinct example. The module being used is PSP. # .htaccess AddHandler mod_python .psp PythonHandler mod_python.psp # hello.psp <html> <body> <%@ include file="part.psp" %> </body> </html> # part.psp <p> 1 2 3\n4 </p> The '\n' is literally converted into a newline. And thus perhaps where one would expect to see: 1 2 3\n4 One sees: 1 2 3 4 Now to work out what is going on and what is reasonable. Graham
|