[Xitami] '&' character in <textarea...> problem
Jürgen Rauch
xitami@lists.xitami.org
Tue, 14 Aug 2001 20:03:37 +0200
I am using plain HTML like this:
"""
<form action="../myscript.py" method=get>
<textarea name="text" rows=20 cols=60>some default text</textarea>
<input type=submit value="Submit"></form>
"""
I tried your wrap thing but it doesn't work either.
-----Original Message-----
From: Johnson, Nathan J [mailto:nathan.j.johnson@lmco.com]
Sent: Dienstag, 14. August 2001 19:17
To: 'xitami@lists.xitami.org'
Subject: RE: [Xitami] '&' character in <textarea...> problem
Without any real analysis, my first instinct points me toward character
entitities as a place to start looking, I'll post again later if I have more
time to think it through... it sounds like some code is trying to resolve a
character entity, for instance "<" resolves to "<" in a document because
"<" is normally used in tags. So, something is seeing that "&" assuming it
is a character entity and trying to resolve it.
Are you using XHTML or some other XML DTD or true legacy HTML?
Something bizarre to try....
wrap your like this....
<![CDATA[
your text here
]]>
> -----Original Message-----
> From: Jürgen Rauch [SMTP:juergen.rauch@optimay.com]
> Sent: Tuesday, August 14, 2001 12:40 PM
> To: 'xitami@lists.xitami.org'
> Subject: [Xitami] '&' character in <textarea...> problem
>
> > I am using XITAMI version 2.4d9 locally on Win98 in combination with the
> > Python cgi module and the IE5.
> > I display an HTML page that contains an empty textarea and a submit
> > button.
> >
> > The problem is: if I submit a text that contains somewhere the character
> > '&', it will cut off this character and all text that follows.
> > E.g. if I enter "Smith & Sons" into the text area, I receive only "Smith
> "
> > in the cgi form.
> >
> > I don't think that this is a Python problem, because with the Apache
> > Server it works fine.
> >
> > Any comments will be appreciated
> >
> > Cheerio
> > Juergen
> >
> >
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami