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
.