diff options
author | emkael <emkael@tlen.pl> | 2015-02-09 20:25:43 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2015-02-09 20:25:43 +0100 |
commit | 735ae6533684cea20befc6c8f275f18c7f033599 (patch) | |
tree | 850cfc3d607e96fdd6b90ab18b78387e0b6e293f | |
parent | 3c2b35191d08c5da8fcddee8a73874b3126fd58b (diff) |
* proper attribute removal from internal links
-rw-r--r-- | http/index.py | 2 |
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"]'): |