""" Diff rendering module for change detection. This module provides functions for rendering differences between text content, with support for various output formats and tokenization strategies. """ import difflib from typing import List, Iterator, Union from loguru import logger import diff_match_patch as dmp_module import re import time from .tokenizers import TOKENIZERS, tokenize_words_and_html # Remember! gmail, outlook etc dont support