X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=blobdiff_plain;f=wrw%2Fsp%2Fxhtml.py;h=50c70b6e7e3260d5f70ee01549acc613ca246aec;hp=5f1ca45eda7608e53a3f592283f474cf4fb2c334;hb=d38b200493b3ed263dbf10581d6d204462ed68c4;hpb=babf3e21cb06bf867e3ec98003d4a077090b8839 diff --git a/wrw/sp/xhtml.py b/wrw/sp/xhtml.py index 5f1ca45..50c70b6 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 = str(k) - node.attrs[self.attrmap.get(k, k)] = str(v) + super().addattr(node, self.attrmap.get(k, k), v) def cons(ctx=None): if ctx is None: ctx = xhtmlcontext()