From ce35bf5642c829eedd5dea8e14904df2fb67a242 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 18 Jun 2008 22:01:44 +0200 Subject: [PATCH] fix internal use of fixAmpersands --- oxutils/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oxutils/html.py b/oxutils/html.py index 6de8423..52be5ff 100644 --- a/oxutils/html.py +++ b/oxutils/html.py @@ -113,7 +113,7 @@ def cleanHtml(text): text = normalizeNewlines(text) text = re.sub(r'<(/?)\s*b\s*>', '<\\1strong>', text) text = re.sub(r'<(/?)\s*i\s*>', '<\\1em>', text) - text = fix_ampersands(text) + text = fixAmpersands(text) # Remove all target="" attributes from tags. text = link_target_attribute_re.sub('\\1', text) # Trim stupid HTML such as
.