Comment

Comment by tstusr20190823

I got this error first with HTML doctype, so it is a problem in my code which uses self-closing tags with HTML doctype. Instead of very noninformative "html_elements_cant_self_close" message it should explain that HTML spec does not have "self-closing tags", and this code uses deprecated feature from previous (XHTML) specs.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton