X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=blobdiff_plain;f=wrw%2Fsp%2Fxhtml.py;h=f10d3158fe53fdc2eb8e5c6140b8e9feb53fef72;hp=e78d1972da005d7fca4d47bc6daa045d14bd6f3a;hb=4c4dcf7a020ed52ea9d8d9048dbd62ffa3a7d54d;hpb=9bc70dab473c7057a20d182ce8566ad0a70a7c5d diff --git a/wrw/sp/xhtml.py b/wrw/sp/xhtml.py index e78d197..f10d315 100644 --- a/wrw/sp/xhtml.py +++ b/wrw/sp/xhtml.py @@ -19,7 +19,7 @@ class xhtmlcontext(_cons.context): def addattr(self, node, k, v): k = unicode(k) - node.attrs[self.attrmap.get(k, k)] = unicode(v) + super(xhtmlcontext, self).addattr(node, self.attrmap.get(k, k), v) def cons(ctx=None): if ctx is None: ctx = xhtmlcontext()