diff options
author | Stefan Ritter <xeno@thehappy.de> | 2009-03-02 17:48:24 +0100 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2009-03-02 17:48:24 +0100 |
commit | c8cd647d707a0bb384fccbedf058db21e4ce9e37 (patch) | |
tree | 5150fd235776882e89e8c4592c35a7f2c1768e9d /blogthon.cgi | |
parent | f4adbfd744aa64c8fd87ad8e4bd20e6974a6d5cf (diff) |
Bugfix:
Fixed a bug with linktitles containing more than just one word
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-x | blogthon.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi index 8501a16..71bf580 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -103,7 +103,7 @@ if linklist == "True": print ' <div class="sidebarentry">' print ' <small>links</small><br />' 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>' content.close() |