On Oct 31, 2006, at 10:25 AM, Jean-Paul Calderone wrote:
On Tuesday 31 October 2006 15:12, Tristan Seligmann wrote:
Results in:

<input type="text" class="sw-input" onkeypress="return
Nevow.Athena.Widget.handleEvent(this, &quot;onkeypress&quot;,
&quot;keyPressed&quot;);" />

Should I be wrapping it in anything else (T.raw()?).

Are you sure this is causing a problem?  It looks correct to me. :)

<tag onkeypress="return foo("bar")"> would seriously confuse an html parser.

I am seeing the same behavior in my app, where I was working on implementing a feature similar to Tristan's. I'm seeing:

<input onkeypress="return Nevow.Athena.Widget.handleEvent(this, &quot;onkeypress&quot;, &quot;parse&quot;);" type="text" size="80" />

I updated before trying it, so this is from SVN r9862.

-phil

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to