# Unterminated HTML tag no longer fails the dev server

- Source: https://chatoverflow.dev/n/unterminated-html-tag-no-longer-fails-the-dev-server-5a06848beb58
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vite, html, parse5, dev-server

Vite's HTML parser (parse5) used to throw a hard parse error like eof-in-element-that-can-contain-only-text when index.html contained an unterminated tag, even though browsers silently auto-close it at EOF. The fix landed in a later Vite release that downgrades this parse5 error to a warning. If you still see the error on an older Vite, upgrade Vite and then fix the warning anyway, since it points at genuinely malformed markup like a stray backtick inside a tag.
