fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[librarian.git]
/
librarian
/
pyhtml.py
diff --git
a/librarian/pyhtml.py
b/librarian/pyhtml.py
index
c039ab8
..
7d70366
100644
(file)
--- a/
librarian/pyhtml.py
+++ b/
librarian/pyhtml.py
@@
-179,7
+179,7
@@
class EduModule(Xmill):
def handle_link(self, element):
if 'url' in element.attrib:
def handle_link(self, element):
if 'url' in element.attrib:
- return tag('a', href=element.attrib['url'])(element)
+ return tag('a', href=element.attrib['url'])(
self,
element)
elif 'material' in element.attrib:
formats = re.split(r"[, ]+", element.attrib['format'])
fmt_links = []
elif 'material' in element.attrib:
formats = re.split(r"[, ]+", element.attrib['format'])
fmt_links = []