# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1233332711 -3600 # Node ID 781cd9fccbaa2726e8b890068e21412815639b22 # Parent ad9ac2169089aefc5ba1a01fefdd158de898cbc4 xhtml fixes diff -r ad9ac2169089 -r 781cd9fccbaa web/facet.py --- a/web/facet.py Fri Jan 30 17:24:53 2009 +0100 +++ b/web/facet.py Fri Jan 30 17:25:11 2009 +0100 @@ -560,12 +560,14 @@ if self.selected: cssclass = ' facetValueSelected' imgsrc = self.req.datadir_url + self.selected_img + imgalt = self.req._('selected') else: cssclass = '' imgsrc = self.req.datadir_url + self.unselected_img + imgalt = self.req._('not selected') self.w(u'
\n' % (cssclass, html_escape(unicode(self.value)))) - self.w(u' ' % imgsrc) + self.w(u'%s ' % (imgsrc, imgalt)) self.w(u'%s' % html_escape(self.label)) self.w(u'
') diff -r ad9ac2169089 -r 781cd9fccbaa web/views/boxes.py --- a/web/views/boxes.py Fri Jan 30 17:24:53 2009 +0100 +++ b/web/views/boxes.py Fri Jan 30 17:25:11 2009 +0100 @@ -200,7 +200,7 @@ urlgetter = self.vreg.select_component('rss_feed_url', self.req, self.rset) url = urlgetter.feed_url() rss = self.req.external_resource('RSS_LOGO') - self.w(u'\n' % (html_escape(url), rss)) + self.w(u'rss\n' % (html_escape(url), rss)) ## warning("schemabox ne marche plus pour le moment")