def _clean_html(text: str) -> str:
        """
        Cleans HTML content by fetching its text representation using BeautifulSoup.
        """
        if text is None:
            return ""

        if isinstance(text, str):
            with warnings.catch_warnings():
                warnings.filterwarnings("ignore", category=UserWarning)
                soup = BeautifulSoup(text, "html.parser")
                return soup.get_text()

        return str(text)

        Cleans HTML content by fetching its text representation using BeautifulSoup.
        
llama-index-integrations/readers/llama-index-readers-guru/llama_index/readers/guru/base.py