fix
Browse files17 unmodified lines18192021222317 unmodified linesprint(f"[Parser] Received code length: {len(code)} characters")print(f"[Parser] First 200 chars: {code[:200]}")# Check if code starts with HTML instead of markers (common LLM mistake)if code_stripped.startswith('<!DOCTYPE') or code_stripped.startswith('<html'):print("[Parser] WARNING: Code starts with HTML instead of === index.html === marker")17 unmodified lines181920212223242517 unmodified linesprint(f"[Parser] Received code length: {len(code)} characters")print(f"[Parser] First 200 chars: {code[:200]}")code_stripped = code.strip()# Check if code starts with HTML instead of markers (common LLM mistake)if code_stripped.startswith('<!DOCTYPE') or code_stripped.startswith('<html'):print("[Parser] WARNING: Code starts with HTML instead of === index.html === marker")
backend_parsers.py+2