[Twisted-web] validating nevow disk templates

Manlio Perillo manlio_perillo at libero.it
Sat Feb 24 02:56:48 CST 2007


Phil Mayers ha scritto:
> Jean-Paul Calderone wrote:
>>
>> <input type="text"><nevow:attr ...></input>
>>
>> will generate valid xhtml.  I'm not sure I have any suggestions other 
>> than
>> to use input which will generate valid output.
> 
> Hmm. Ok, I see. As you say, the reason it's barfing is that:
> 
> <input type="text" value="var"></input>
> 
> ...is valid xhtml, but:
> 
> <input type="text" value="var">
> 
> </input>
> 
> ..is not. Bother. So, no nice indentation in xmlfile templates.
> 

See http://divmod.org/trac/ticket/1927

 > [...]


Regards  Manlio Perillo



More information about the Twisted-web mailing list