summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-02-09 20:25:43 +0100
committeremkael <emkael@tlen.pl>2015-02-09 20:25:43 +0100
commit735ae6533684cea20befc6c8f275f18c7f033599 (patch)
tree850cfc3d607e96fdd6b90ab18b78387e0b6e293f /http
parent3c2b35191d08c5da8fcddee8a73874b3126fd58b (diff)
* proper attribute removal from internal links
Diffstat (limited to 'http')
-rw-r--r--http/index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/index.py b/http/index.py
index 2e46c8f..f4f7564 100644
--- a/http/index.py
+++ b/http/index.py
@@ -95,7 +95,7 @@ def handler(req):
# internal link targets (team, WK breakdown, etc.) removed
for internal_link in page_content.select('table > tr > td > table a'):
- internal_link['href'] = None
+ internal_link.attrs = {}
# internal link icons removed
for link_icon in page_content.select('img[src*="ico_link_8.gif"]'):