Bugfix:
Fixed a bug with linktitles containing more than just one word
This commit is contained in:
parent
f4adbfd744
commit
c8cd647d70
@ -103,7 +103,7 @@ if linklist == "True":
|
|||||||
print ' <div class="sidebarentry">'
|
print ' <div class="sidebarentry">'
|
||||||
print ' <small>links</small><br />'
|
print ' <small>links</small><br />'
|
||||||
for line in content:
|
for line in content:
|
||||||
print ' <a href=' + line.split(" ")[0] + '>' + line.split(" ")[-1].strip() + '</a> <br />'
|
print ' <a href=' + line.split(" ")[0] + '>' + line.split(" ", 1)[1] + '</a> <br />'
|
||||||
print ' </div>'
|
print ' </div>'
|
||||||
content.close()
|
content.close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user