xhtml compliance
authorsylvain.thenault@logilab.fr
Mon, 26 Jan 2009 19:38:37 +0100
changeset 472 958805c342b6
parent 471 9dc392f05c65
child 473 c0bf9e1e8b36
xhtml compliance
common/view.py
web/views/treeview.py
--- a/common/view.py	Mon Jan 26 19:34:36 2009 +0100
+++ b/common/view.py	Mon Jan 26 19:38:37 2009 +0100
@@ -59,6 +59,8 @@
  cubicweb:tlunit            CDATA   #IMPLIED
  cubicweb:loadurl           CDATA   #IMPLIED
  cubicweb:uselabel          CDATA   #IMPLIED
+ cubicweb:facetargs         CDATA   #IMPLIED
+ cubicweb:facetName         CDATA   #IMPLIED
   "> ] '''
 
 TRANSITIONAL_DOCTYPE = u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" %s>\n'
--- a/web/views/treeview.py	Mon Jan 26 19:34:36 2009 +0100
+++ b/web/views/treeview.py	Mon Jan 26 19:38:37 2009 +0100
@@ -75,7 +75,7 @@
         if row == len(self.rset) - 1:
             self.w(u'<li class="last">%s</li>' % itemview)
         else:
-            self.w(u'<li><span>%s</span></li>' % itemview)
+            self.w(u'<li>%s</li>' % itemview)
 
 
 class TreeViewItemView(EntityView):