This strikes me as a worrying suggestion. I'm not sure I would be comfortable using a method that produced invalid HTML, only to be told that I should parse and serialize it to fix the errors. Feels like a case of treating the symptoms, instead of the cause.
This strikes me as a worrying suggestion. I'm not sure I would be comfortable using a method that produced invalid HTML, only to be told that I should parse and serialize it to fix the errors. Feels like a case of treating the symptoms, instead of the cause.