Files
itpp-infrastructure/projects/verify_visible.py
T
root f5175f1ce0 Sync docs, audit artifacts, project notes, and VerdictTank proposal docs
- audit/phase-one + phase-two: security audit briefs, findings, credential-rotation plan, Docker-USER hardening scripts, rollback refs
- disaster-recovery/restore-test-log.md + backup-dr-audit-2026-08-10.md
- clients/ (modelortho SEO audit, ai-biz-dev competitive landscape), notes/ (tiktok strategy)
- projects/: front-desk-voice-agent, seo-visibility-checker product plan, hotnow-savannah HTML, resend-transactional-email, backup-dashboard-enhancements, code-review-graph, seo-ci-architecture
- proposals/verdicttank/: architecture v4.0, methodology, judge-pool review, consolidation reasoning, cross-check review
- docs/super-search/firecrawl-provider-strategy.md
- updates: CHANGELOG, model-chain, projects-master-readme, intelsight.io
- .gitignore: exclude nested standalone repos (seo-tool, venturebuilt)
2026-08-26 02:27:28 -04:00

28 lines
908 B
Python

#!/usr/bin/env python3
"""Verify no double hyphens in visible text content."""
import re
with open('/root/projects/itpp-infrastructure/projects/hotnow-savannah-v2.html') as f:
html = f.read()
# Remove all HTML tags, comments, and style blocks
clean = html
# Remove style blocks
clean = re.sub(r'<style>.*?</style>', '', clean, flags=re.DOTALL)
# Remove HTML comments
clean = re.sub(r'<!--.*?-->', '', clean, flags=re.DOTALL)
# Remove HTML tags
clean = re.sub(r'<[^>]+>', '', clean)
# Decode HTML entities that contain --
clean = clean.replace('&mdash;', '')
# Find --
matches = list(re.finditer(r'--', clean))
if matches:
print(f'Found {len(matches)} double hyphens in visible text:')
for m in matches[:20]:
ctx = clean[max(0,m.start()-30):m.end()+30]
print(f' offset {m.start()}: "...{ctx.strip()}..."')
else:
print('ZERO double hyphens in visible text content. Clean!')