def strip_bad_html(self):
        """Strips string of all HTML elements
    
        :return: Given string with raw HTML elements removed
        """
        out = self.string
        while not String(out).is_well_formatted():
            out = out.replace(":", "") \
                .replace("\\'", "\'") \
                .replace("\\n", "") \
                .replace("\\r", "") \
                .replace("\\t", "") \
                .replace("\n", "") \
                .replace("\r", "") \
                .replace("\t", "") \
                .replace("  ", " ") \
                .strip()

        return str(out)
Strips string of all HTML elements
    
        :return: Given string with raw HTML elements removed