From 735ae6533684cea20befc6c8f275f18c7f033599 Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 9 Feb 2015 20:25:43 +0100 Subject: * proper attribute removal from internal links --- http/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]'): -- cgit v1.2.3