On 22/01/06, David Stanek <[EMAIL PROTECTED]> wrote:
> On 1/21/06, Wavy Davy <[EMAIL PROTECTED]> wrote:
> >
> > Not really sure whats going on. Is there another option in kid that I'm
> missing?
> >
> >
>
>  You are seeing these characters in the web browser? Kid will return embeded
> \n characters, but when they are printed or written to a file the user will
> see them as white space.

Yes, in the browser.  The returned html source has them in as two
distinct characters '\' and 'n' or 't'.

It occurs when using the $ notation for referencing vars. Kid is
converting the emebeded \n or \t chars and converting them to a
literal "\n" or "\t".


i.e.

kid template (text="abcd"):
<p>[tab]$text[enter]
</p>
<p>[tab]${text}[enter]
</p>

both produce the html output

<P>\tabcd\n</P>

Looks like a kid bug to me...


--
wavy davy

"True religion confronts earth with heaven
and brings eternity to bear on time"
 - A. W. Tozer

Reply via email to