Fixed #19237 (again) - Made strip_tags consistent between Python versions