[Twisted-Python] 'model' attribute is showing up in processed HTML

Alex Levy alexander.levy at tufts.edu
Thu Oct 31 17:10:04 MST 2002


The 'model' node attribute from my XHTML templates is showing up in the 
final HTML being spewed by twistd.  Is there a reason Twisted does 
this?  It's causing my pages to fail W3C validation.  This isn't happening 
with the 'view' attribute.

Example:

     <td class="sidebar" view="sidebar"></td>
     <td class="content">
         <div class="title" model="title"></div>
         <span model="content"/>
     </td>

...becomes:

     <td class="sidebar">{sidebar stuff...}</td>
     <td class="content">
         <div model="title" class="title">This is the title.</div>
         <span model="content">Content goes here.  w00t.</span>
     </td>

--
Alex Levy
WWW: http://mesozoic.geecs.org
Tel: 617.835.0778

"Never let your sense of morals prevent you from doing what is right."
-- Salvor Hardin, Isaac Asimov's _Foundation_






More information about the Twisted-Python mailing list