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, "onkeypress", "keyPressed");" />
Should I be wrapping it in anything else (T.raw()?).
Are you sure this is causing a problem? It looks correct to me. :)
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, "onkeypress", "parse");" type="text" size="80" /> I updated before trying it, so this is from SVN r9862. -phil