HTML files validation
I would like to work on this, however I have a few questions.
-
What does having configs in html accomplish and why not just use xml instead ?
-
Following the previous question, what does validating a html file mean ? Does it mean that it is 'well-formed' to the standard or does it mean a browser can render it ? because browsers can render ill-formed html files.
According to my understanding, using golang.org/x/net, we can parse a string, to a dom tree and again convert it to a string to compare with the input and they should compare equal if the html is well formed.
docs: Parse: https://pkg.go.dev/golang.org/x/[email protected]/html#Parse Render: https://pkg.go.dev/golang.org/x/[email protected]/html#Render
Would HTML files even be considered as 'config' files?
Agree with the thoughts above - HTML validation seems out of scope for this tool