From 73f38dccb4a11e857ae3497a61089a4ea89cd654 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 7 Mar 2008 22:39:37 +0000 Subject: [PATCH] Fixed a misspelled HTML entity. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@209 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robots/parse_html.py b/Robots/parse_html.py index e676504..47cbb19 100755 --- a/Robots/parse_html.py +++ b/Robots/parse_html.py @@ -32,7 +32,7 @@ num_entity_re = re.compile("(&#[0-9]+;)") def recode_entities(title, charset): output = [] for part in entity_re.split(title): - if part not in ("&", "<", ">", ""e;") and \ + if part not in ("&", "<", ">", """) and \ entity_re.match(part): part = unichr(name2codepoint.get(part[1:-1], part)).encode(charset) output.append(part) -- 2.39.5