[twill] No space before "/>" breaks form?

Titus Brown titus at caltech.edu
Fri Apr 14 11:18:26 PDT 2006


On Fri, Apr 14, 2006 at 11:08:52AM -0700, Titus Brown wrote:
-> On Fri, Apr 07, 2006 at 10:40:16PM -0400, Hancock, David (DHANCOCK) wrote:
-> -> I encountered a situation today where I had a form with some embedded
-> -> <br> tags, expressed as "<br/>" (that is, no space before the "/>") and
-> -> the form fields stopped showing up, giving "NO SUCH FORM FIELD" errors
-> -> on submit. Putting the space back in ("<br />") made them work again.
-> 
-> Hi, David, as far as I can tell it works fine in the latest version,
-> 0.8.5a<whatever>.  What version are you using?
-> 
-> (Yeah, I know it's unfair to refer to pre-release alphas as "the latest
-> version"!  However, it's helpful to know if this has been fixed & it
-> might also drive a new release.)

Argh, I'm an idiot... this is fixed by using 'tidy', but it's a problem
for people without tidy installed or with 'use_tidy' set to false.
I'll take a look at the parsing code to see what I can do.

cheers,
--titus



More information about the twill mailing list