""" 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 import diff_match_patch as dmp_module import re from .tokenizers import TOKENIZERS, tokenize_words_and_html # Remember! gmail, outlook etc dont support