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)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Verify no double hyphens outside style tags."""
|
||||
import re
|
||||
|
||||
with open('/root/projects/itpp-infrastructure/projects/hotnow-savannah-v2.html') as f:
|
||||
html = f.read()
|
||||
|
||||
# Split by style tags
|
||||
parts = re.split(r'(<style>.*?</style>)', html, flags=re.DOTALL)
|
||||
count = 0
|
||||
for part in parts:
|
||||
if not part.startswith('<style>'):
|
||||
found = list(re.finditer(r'--', part))
|
||||
for m in found:
|
||||
ctx = part[max(0,m.start()-20):m.end()+20]
|
||||
count += 1
|
||||
print(f' offset {m.start()}: ...{ctx!r}...')
|
||||
|
||||
if count == 0:
|
||||
print('ZERO double hyphens outside <style> tags. Clean!')
|
||||
else:
|
||||
print(f'Found {count} double hyphens outside style tags')
|
||||
Reference in New Issue
Block a user