fix internal use of fixAmpersands
This commit is contained in:
parent
ff477eda17
commit
ce35bf5642
1 changed files with 1 additions and 1 deletions
|
@ -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 <a> tags.
|
||||
text = link_target_attribute_re.sub('\\1', text)
|
||||
# Trim stupid HTML such as <br clear="all">.
|
||||
|
|
Loading…
Reference in a new issue