diff --git a/fanficfare/htmlcleanup.py b/fanficfare/htmlcleanup.py
index fb0258a0..41571a51 100644
--- a/fanficfare/htmlcleanup.py
+++ b/fanficfare/htmlcleanup.py
@@ -131,7 +131,7 @@ def removeEntities(text, space_only=False, remove_all_entities=False):
text = _replaceNotEntities(text)
if remove_all_entities:
- text = text.replace('<', '<').replace('>', '>').replace('&', '&')
+ text = text.replace('<', '<').replace('>', '>').replace('&', '&')
else:
# < > and & are the only html entities allowed in xhtml, put those back.
# They come out as < because _replaceNotEntities removes the ';'.