Dolda2000 GitWeb
/
wrw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed up URL quoting a bit.
[wrw.git]
/
wrw
/
sp
/
xhtml.py
diff --git
a/wrw/sp/xhtml.py
b/wrw/sp/xhtml.py
index
e78d197
..
f10d315
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 = 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()