From 755e6887ffbf62b367c83b4510414e2e9eb28fa5 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 15 Jun 2008 21:17:34 +0000 Subject: add parsing of script tag and background attributes, based on a patch by Robert M. Jansen git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@380 86f53f14-5ff3-0310-afe5-9b438ce3f40c --- parsers/html/beautifulsoup.py | 10 ++++++++++ parsers/html/htmlparser.py | 6 ++++++ 2 files changed, 16 insertions(+) (limited to 'parsers') diff --git a/parsers/html/beautifulsoup.py b/parsers/html/beautifulsoup.py index fb39873..a3536f0 100644 --- a/parsers/html/beautifulsoup.py +++ b/parsers/html/beautifulsoup.py @@ -164,5 +164,15 @@ def parse(content, link): # delegate handling of inline css to css module import parsers.css parsers.css.parse(htmlunescape(style.string), link) + #