Dolda2000 GitWeb
/
wrw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into python3
[wrw.git]
/
wrw
/
sp
/
xhtml.py
diff --git
a/wrw/sp/xhtml.py
b/wrw/sp/xhtml.py
index
5f1ca45
..
50c70b6
100644
(file)
--- 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)
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()
def cons(ctx=None):
if ctx is None: ctx = xhtmlcontext()