# -*- coding: utf-8 -*-
import sys, io, re
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace')
h = open(r"D:\work buddy\2026-11-05-14-15-52\details\ut-mscac.html", encoding="utf-8").read()
print("LEN", len(h))
pretty = re.sub(r'><', '>\n<', h)
print(pretty[:7000])
print("\n\n....... TAIL .......")
print(pretty[-3000:])
