diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2006-05-31 22:24:18 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2006-05-31 22:24:18 +0200 |
commit | 832a69ef64b107b6b39e55947348cf53806cca29 (patch) | |
tree | d953abb5140eff9a3ae31576506cc0a0141d6b8d | |
parent | f93353e45d5755e8578183c644b6bd828d85cf7f (diff) |
add TODOs
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@282 86f53f14-5ff3-0310-afe5-9b438ce3f40c
-rw-r--r-- | parsers/html.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parsers/html.py b/parsers/html.py index 7594e0b..74d5af6 100644 --- a/parsers/html.py +++ b/parsers/html.py @@ -271,11 +271,13 @@ class _MyHTMLParser(HTMLParser.HTMLParser): """Handle character references (e.g. A) by passing the data to handle_data().""" self.handle_data('&#'+name+';') + # TODO: do not pass ; if plain text does not contain it? def handle_entityref(self, name): """Handle entity references (e.g. é) by passing the data to handle_data().""" self.handle_data('&'+name+';') + # TODO: do not pass ; if plain text does not contain it? def handle_pi(self, data): """Hanlde xml declaration.""" |