'''
path = Path("/mnt/data/subtitle_timestamp_cleaner.html")
path.write_text(html, encoding="utf-8")
# Verify exact file exists and is readable, and includes closing HTML structure.
check = path.read_text(encoding="utf-8")
assert check == html and check.rstrip().endswith("