These kinds of small fixes are oddly satisfying to get right. This ships in the next version of Herb! 🙌
Parser: Introduce `UnclosedCloseTagError` by marcoroth · Pull Request #1216 · marcoroth/herb

This pull request improves the parser's error reporting for HTML close tags that are missing their closing > by introducing a new UnclosedCloseTagError. Given this input: <% case Date.tod...

GitHub