mirror of
https://github.com/moparisthebest/xeps
synced 2024-08-13 16:53:48 -04:00
Make links more absolute to work with new WP page.
This commit is contained in:
parent
8b70dfd021
commit
24a1af328d
2
gen.py
2
gen.py
@ -115,7 +115,7 @@ class XEPTable:
|
|||||||
while(xeprow.hasChildNodes()):
|
while(xeprow.hasChildNodes()):
|
||||||
xeprow.removeChild(xeprow.firstChild)
|
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])
|
xeprow.appendChild(col.getElementsByTagName("td")[0])
|
||||||
|
|
||||||
col = parseString("<td valign='top'>" + info.getTitle() + "</td>")
|
col = parseString("<td valign='top'>" + info.getTitle() + "</td>")
|
||||||
|
Loading…
Reference in New Issue
Block a user