Make links more absolute to work with new WP page.

This commit is contained in:
Tobias Markmann 2010-10-05 19:38:14 +02:00
parent 8b70dfd021
commit 24a1af328d
1 changed files with 1 additions and 1 deletions

2
gen.py
View File

@ -115,7 +115,7 @@ class XEPTable:
while(xeprow.hasChildNodes()):
xeprow.removeChild(xeprow.firstChild)
col = parseString('''<td valign='top'><a href='xep-''' + info.getNr() + ".html'>XEP-" + info.getNr() + '''</a> <a href='xep-''' + info.getNr() + '''.pdf'>(PDF)</a></td>''')
col = parseString('''<td valign='top'><a href='/extensions/xep-''' + info.getNr() + ".html'>XEP-" + info.getNr() + '''</a> <a href='/extensions/xep-''' + info.getNr() + '''.pdf'>(PDF)</a></td>''')
xeprow.appendChild(col.getElementsByTagName("td")[0])
col = parseString("<td valign='top'>" + info.getTitle() + "</td>")