I don't get how this happens. You a couple of re.findalls, concatenated that with at least " ", and then did some replacements that won't remove that space. Doesn't that mean that `remove_tags` is not falsy?